X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=includes%2Fstdarg.h;h=1ebf3fba289823ce3da1f37cad3e0b130ce835ee;hp=bbce55ab4360613183143cb3ba4895abd198c81f;hb=da0f3f353d417fed71f358a48d5d5394145e460d;hpb=e1c526e9bad3f6e69391e94059096145390508d3 diff --git a/includes/stdarg.h b/includes/stdarg.h index bbce55a..1ebf3fb 100644 --- a/includes/stdarg.h +++ b/includes/stdarg.h @@ -1,4 +1,4 @@ -/* 7.15 Variable arguments +/* Variable arguments This file is part of the Public Domain C Library (PDCLib). Permission is granted to use, modify, and / or redistribute at will. @@ -6,9 +6,12 @@ #ifndef _PDCLIB_STDARG_H #define _PDCLIB_STDARG_H _PDCLIB_STDARG_H -#include <_PDCLIB_aux.h> -#include <_PDCLIB_config.h> -_PDCLIB_BEGIN_EXTERN_C +#include "_PDCLIB_aux.h" +#include "_PDCLIB_config.h" + +#ifdef __cplusplus +extern "C" { +#endif typedef _PDCLIB_va_list va_list; @@ -17,6 +20,8 @@ typedef _PDCLIB_va_list va_list; #define va_end( ap ) _PDCLIB_va_end( ap ) #define va_start( ap, parmN ) _PDCLIB_va_start( ap, parmN ) -_PDCLIB_END_EXTERN_C +#ifdef __cplusplus +} #endif +#endif