X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=includes%2Fstdarg.h;h=cc63123ca5d22076b8d7c363c0539ccffc8ad6cd;hp=bbce55ab4360613183143cb3ba4895abd198c81f;hb=d7f375a09a9912bb18ad42f1442fbf64311bfed6;hpb=0bfd3aa28ccec8c35481fe04d1dc82a0f1f522e6 diff --git a/includes/stdarg.h b/includes/stdarg.h index bbce55a..cc63123 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. @@ -8,7 +8,10 @@ #define _PDCLIB_STDARG_H _PDCLIB_STDARG_H #include <_PDCLIB_aux.h> #include <_PDCLIB_config.h> -_PDCLIB_BEGIN_EXTERN_C + +#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