summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/include/ctype.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index f8f45ae38..a3ed9413a 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2008-07-24 Jeff Johnston <jjohnstn@redhat.com>
+
+ * libc/include/ctype.h (_ctype_): Restore for C++ backward
+ compatability only.
+
2008-07-21 Jeff Johnston <jjohnstn@redhat.com>
* libc/ctype/ctype_.c: Add new pointer __ctype_ptr__ which is one
diff --git a/newlib/libc/include/ctype.h b/newlib/libc/include/ctype.h
index 9014dbe4f..17a486ebb 100644
--- a/newlib/libc/include/ctype.h
+++ b/newlib/libc/include/ctype.h
@@ -67,6 +67,9 @@ extern __IMPORT _CONST char *__ctype_ptr__;
#define toascii(c) ((c)&0177)
#endif
+/* For C++ backward-compatibility only. */
+extern __IMPORT _CONST char _ctype_[];
+
_END_STD_C
#endif /* _CTYPE_H_ */