X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Fstdarg.h;h=cc63123ca5d22076b8d7c363c0539ccffc8ad6cd;hb=d7f375a09a9912bb18ad42f1442fbf64311bfed6;hp=202d37274a5070521b41fa153b9222e3d4b20d1a;hpb=b41576197133c1211d6ec353faf93f505f573b8a;p=pdclib diff --git a/includes/stdarg.h b/includes/stdarg.h index 202d372..cc63123 100644 --- a/includes/stdarg.h +++ b/includes/stdarg.h @@ -1,6 +1,4 @@ -/* $Id$ */ - -/* 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. @@ -10,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; @@ -19,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