aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-01-27 09:13:16 +0000
committerUlrich Drepper <drepper@redhat.com>1999-01-27 09:13:16 +0000
commit8c474db54dbc62f4cd3003f12a7b540a8f2ddef9 (patch)
tree1606d4f265ad0c65fd89cc9ff4b0096ac7875477
parentee2752ea58826faabe7466bfc7a61c61d824eb81 (diff)
downloadglibc-8c474db54dbc62f4cd3003f12a7b540a8f2ddef9.tar
glibc-8c474db54dbc62f4cd3003f12a7b540a8f2ddef9.tar.gz
glibc-8c474db54dbc62f4cd3003f12a7b540a8f2ddef9.tar.bz2
glibc-8c474db54dbc62f4cd3003f12a7b540a8f2ddef9.zip
Update.
* wctype/wcextra.c: Declare __ctype32_b.
-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)
{