From: Ulrich Drepper Date: Wed, 27 Jan 1999 09:13:16 +0000 (+0000) Subject: Update. X-Git-Tag: upstream/2.30~27643 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8c474db54dbc62f4cd3003f12a7b540a8f2ddef9;p=external%2Fglibc.git Update. * wctype/wcextra.c: Declare __ctype32_b. --- diff --git a/ChangeLog b/ChangeLog index b0e8908..e67e2fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 1999-01-27 Ulrich Drepper + * wctype/wcextra.c: Declare __ctype32_b. + * manual/string.texi: Add optimization examples for strcat and strchr. 1999-01-26 Ulrich Drepper diff --git a/manual/string.texi b/manual/string.texi index 73ca71f..943cb09 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 7f63e7e..44b72c8 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) {