about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--wctype/wcfuncs.c4
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7635bcc6b2..34a753cac8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 1999-01-17  Ulrich Drepper  <drepper@cygnus.com>
 
+	* wctype/wcfuncs.c: Declare __ctype32_b.
+
 	* elf/Makefile (test-modules): Add test-modules.
 
 	* stdlib/canonicalize.c (canonicalize): Update write pointer after
diff --git a/wctype/wcfuncs.c b/wctype/wcfuncs.c
index 3b9296c9a7..ba4d88b50a 100644
--- a/wctype/wcfuncs.c
+++ b/wctype/wcfuncs.c
@@ -22,6 +22,10 @@
 
 #include "cname-lookup.h"
 
+/* If the program is compiled without optimization the following declaration
+   is not visible in the header.   */
+extern unsigned int *__ctype32_b;
+
 /* Provide real-function versions of all the wctype macros.  */
 
 #define	func(name, type) \