aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/c_std/bits/std_cctype.h
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/c_std/bits/std_cctype.h')
-rw-r--r--libstdc++-v3/include/c_std/bits/std_cctype.h46
1 files changed, 14 insertions, 32 deletions
diff --git a/libstdc++-v3/include/c_std/bits/std_cctype.h b/libstdc++-v3/include/c_std/bits/std_cctype.h
index e03a4fd086b..aa120b00bc2 100644
--- a/libstdc++-v3/include/c_std/bits/std_cctype.h
+++ b/libstdc++-v3/include/c_std/bits/std_cctype.h
@@ -31,20 +31,15 @@
// ISO C++ 14882: <ccytpe>
//
-// Note: This is not a conforming implementation.
-
#ifndef _CPP_CCTYPE
#define _CPP_CCTYPE 1
-#include <bits/c++config.h>
-
#pragma GCC system_header
-#include <ctype.h>
+#include_next <ctype.h>
// Get rid of those macros defined in <ctype.h> in lieu of real functions.
#undef isalnum
#undef isalpha
-#undef isblank
#undef iscntrl
#undef isdigit
#undef isgraph
@@ -59,32 +54,19 @@
namespace std
{
- extern "C" int isalnum(int __c);
- extern "C" int isalpha(int __c);
- extern "C" int isblank(int __c);
- extern "C" int iscntrl(int __c);
- extern "C" int isdigit(int __c);
- extern "C" int isgraph(int __c);
- extern "C" int islower(int __c);
- extern "C" int isprint(int __c);
- extern "C" int ispunct(int __c);
- extern "C" int isspace(int __c);
- extern "C" int isupper(int __c);
- extern "C" int isxdigit(int __c);
- extern "C" int tolower(int __c);
- extern "C" int toupper(int __c);
+ using ::isalnum;
+ using ::isalpha;
+ using ::iscntrl;
+ using ::isdigit;
+ using ::isgraph;
+ using ::islower;
+ using ::isprint;
+ using ::ispunct;
+ using ::isspace;
+ using ::isupper;
+ using ::isxdigit;
+ using ::tolower;
+ using ::toupper;
}
#endif
-
-
-
-
-
-
-
-
-
-
-
-