From 390500b147a8063ea4be7313ec38cada26f9235a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 28 Apr 1999 21:56:46 +0000 Subject: Update. 1999-04-28 Ulrich Drepper * manager.c (pthread_allocate_stack): Optimize initialization of new thread descriptor. --- ctype/ctype-extn.c | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) (limited to 'ctype/ctype-extn.c') 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); -} -- cgit 1.4.1