]> pd.if.org Git - pdclib/blobdiff - includes/stdarg.h
PDCLib includes with quotes, not <>.
[pdclib] / includes / stdarg.h
index e75cd55c68b8a61cd4e730ed3a317747c83a58ac..1ebf3fba289823ce3da1f37cad3e0b130ce835ee 100644 (file)
@@ -1,6 +1,4 @@
-/* $Id$ */
-
-/* 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,10 +6,11 @@
 
 #ifndef _PDCLIB_STDARG_H
 #define _PDCLIB_STDARG_H _PDCLIB_STDARG_H
+#include "_PDCLIB_aux.h"
+#include "_PDCLIB_config.h"
 
-#ifndef _PDCLIB_CONFIG_H
-#define _PDCLIB_CONFIG_H _PDCLIB_CONFIG_H
-#include <_PDCLIB_config.h>
+#ifdef __cplusplus
+extern "C" {
 #endif
 
 typedef _PDCLIB_va_list va_list;
@@ -21,5 +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 )
 
+#ifdef __cplusplus
+}
 #endif
 
+#endif