diff options
Diffstat (limited to 'ctype')
-rw-r--r-- | ctype/ctype-c99_l.c | 2 | ||||
-rw-r--r-- | ctype/ctype.h | 10 | ||||
-rw-r--r-- | ctype/ctype_l.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/ctype/ctype-c99_l.c b/ctype/ctype-c99_l.c index efb5a67bb5..da543593f9 100644 --- a/ctype/ctype-c99_l.c +++ b/ctype/ctype-c99_l.c @@ -20,7 +20,7 @@ #include <ctype.h> int -__isblank_l (int c, __locale_t l) +__isblank_l (int c, locale_t l) { return __isctype_l (c, _ISblank, l); } diff --git a/ctype/ctype.h b/ctype/ctype.h index ce598d53e5..1fcbb660d6 100644 --- a/ctype/ctype.h +++ b/ctype/ctype.h @@ -242,7 +242,7 @@ __NTH (toupper (int __c)) ((locale)->__ctype_b[(int) (c)] & (unsigned short int) type) # define __exctype_l(name) \ - extern int name (int, __locale_t) __THROW + extern int name (int, locale_t) __THROW /* The following names are all functions: int isCHARACTERISTIC(int c, locale_t *locale); @@ -264,12 +264,12 @@ __exctype_l (isblank_l); /* Return the lowercase version of C in locale L. */ -extern int __tolower_l (int __c, __locale_t __l) __THROW; -extern int tolower_l (int __c, __locale_t __l) __THROW; +extern int __tolower_l (int __c, locale_t __l) __THROW; +extern int tolower_l (int __c, locale_t __l) __THROW; /* Return the uppercase version of C. */ -extern int __toupper_l (int __c, __locale_t __l) __THROW; -extern int toupper_l (int __c, __locale_t __l) __THROW; +extern int __toupper_l (int __c, locale_t __l) __THROW; +extern int toupper_l (int __c, locale_t __l) __THROW; # if __GNUC__ >= 2 && defined __OPTIMIZE__ && !defined __cplusplus # define __tolower_l(c, locale) \ diff --git a/ctype/ctype_l.c b/ctype/ctype_l.c index a7b5f5238a..e565068c20 100644 --- a/ctype/ctype_l.c +++ b/ctype/ctype_l.c @@ -21,7 +21,7 @@ /* Provide real-function versions of all the ctype macros. */ #define func(name, type) \ - int __##name (int c, __locale_t l) { return __isctype_l (c, type, l); } \ + int __##name (int c, locale_t l) { return __isctype_l (c, type, l); } \ weak_alias (__##name, name) func (isalnum_l, _ISalnum) @@ -37,14 +37,14 @@ func (isupper_l, _ISupper) func (isxdigit_l, _ISxdigit) int -(__tolower_l) (int c, __locale_t l) +(__tolower_l) (int c, locale_t l) { return l->__ctype_tolower[c]; } weak_alias (__tolower_l, tolower_l) int -(__toupper_l) (int c, __locale_t l) +(__toupper_l) (int c, locale_t l) { return l->__ctype_toupper[c]; } |