]> pd.if.org Git - pdclib/blobdiff - includes/ctype.h
Sweeping cleanups. Sorry for the massive commit; I got sidetracked once too often.
[pdclib] / includes / ctype.h
index f0accf042cb2c3eb6cb434ae0c6fd40f8fbf2cc6..f55d18b6c1b9db48611a6d93cac704669d13881a 100644 (file)
@@ -1,4 +1,4 @@
-/* 7.4 Character handling <ctype.h>
+/* Character handling <ctype.h>
 
    This file is part of the Public Domain C Library (PDCLib).
    Permission is granted to use, modify, and / or redistribute at will.
@@ -7,7 +7,10 @@
 #ifndef _PDCLIB_CTYPE_H
 #define _PDCLIB_CTYPE_H _PDCLIB_CTYPE_H
 #include <_PDCLIB_int.h>
-_PDCLIB_BEGIN_EXTERN_C
+
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 /* Character classification functions */
 
@@ -90,5 +93,8 @@ int tolower( int c ) _PDCLIB_nothrow;
 */
 int toupper( int c ) _PDCLIB_nothrow;
 
-_PDCLIB_END_EXTERN_C
+#ifdef __cplusplus
+}
+#endif
+
 #endif