about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--manual/string.texi7
-rw-r--r--wctype/wcextra.c4
3 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index b0e89080fb..e67e2fd37e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 1999-01-27  Ulrich Drepper  <drepper@cygnus.com>
 
+	* wctype/wcextra.c: Declare __ctype32_b.
+
 	* manual/string.texi: Add optimization examples for strcat and strchr.
 
 1999-01-26  Ulrich Drepper  <drepper@cygnus.com>
diff --git a/manual/string.texi b/manual/string.texi
index 73ca71f8f3..943cb09b5c 100644
--- a/manual/string.texi
+++ b/manual/string.texi
@@ -1110,9 +1110,10 @@ is this:
 There is no restriction on the second parameter of @code{strchr} so it
 could very well also be the NUL character.  Those readers thinking very
 hard about this might now point out that the @code{strchr} function is
-more expensive than the @code{strlen} since we have two abort criteria.
-This is right.  But when using the GNU C library this @code{strchr} call
-gets optimized in a special way so that this version actually is faster.
+more expensive than the @code{strlen} function since we have two abort
+criteria.  This is right.  But when using the GNU C library is used this
+@code{strchr} call gets optimized in a special way so that this version
+actually is faster.
 
 @comment string.h
 @comment ISO
diff --git a/wctype/wcextra.c b/wctype/wcextra.c
index 7f63e7efeb..44b72c8833 100644
--- a/wctype/wcextra.c
+++ b/wctype/wcextra.c
@@ -24,6 +24,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;
+
 int
 (iswblank) (wint_t wc)
 {