diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-04-28 21:56:46 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-04-28 21:56:46 +0000 |
commit | 390500b147a8063ea4be7313ec38cada26f9235a (patch) | |
tree | edf14c04a0a46992ce4c04eeaf604fab99a9d960 /ctype | |
parent | Fix typos. (diff) | |
download | glibc-390500b147a8063ea4be7313ec38cada26f9235a.tar.gz glibc-390500b147a8063ea4be7313ec38cada26f9235a.tar.bz2 glibc-390500b147a8063ea4be7313ec38cada26f9235a.zip |
Update.
1999-04-28 Ulrich Drepper <drepper@cygnus.com>
* manager.c (pthread_allocate_stack): Optimize initialization of new
thread descriptor.
Diffstat (limited to 'ctype')
-rw-r--r-- | ctype/ctype-extn.c | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/ctype/ctype-extn.c b/ctype/ctype-extn.c index 5daba66804..cfc8b87d41 100644 --- a/ctype/ctype-extn.c +++ b/ctype/ctype-extn.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1997, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -22,20 +22,21 @@ /* Real function versions of the non-ANSI ctype functions. */ int -isblank (int c) +__isblank (int c) { return __isctype (c, _ISblank); } +weak_alias (__isblank, isblank) int _tolower (int c) { - return c < -128 || c > 255 ? c : __ctype_tolower[c]; + return __ctype_tolower[c]; } int _toupper (int c) { - return c < -128 || c > 255 ? c : __ctype_toupper[c]; + return __ctype_toupper[c]; } int @@ -43,11 +44,14 @@ toascii (int c) { return __toascii (c); } +weak_alias (toascii, __toascii_l) + int isascii (int c) { return __isascii (c); } +weak_alias (isascii, __isascii_l) int @@ -55,14 +59,3 @@ __isblank_l (int c, __locale_t l) { return __isctype_l (c, _ISblank, l); } - -int -__toascii_l (int c, __locale_t l) -{ - return __toascii (c); -} -int -__isascii_l (int c, __locale_t l) -{ - return __isascii (c); -} |