]> pd.if.org Git - pdclib/blobdiff - includes/stdarg.h
Sweeping cleanups. Sorry for the massive commit; I got sidetracked once too often.
[pdclib] / includes / stdarg.h
index bbce55ab4360613183143cb3ba4895abd198c81f..cc63123ca5d22076b8d7c363c0539ccffc8ad6cd 100644 (file)
@@ -1,4 +1,4 @@
-/* 7.15 Variable arguments <stdarg.h> 
+/* Variable arguments <stdarg.h>
 
    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