summaryrefslogtreecommitdiff
path: root/ctype
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-06-13 09:23:55 +0000
committerUlrich Drepper <drepper@redhat.com>1999-06-13 09:23:55 +0000
commitb77ab157d4bbccd7b67fb59e6b22d925be065169 (patch)
treec0a6e736aa9afe74000c736e96ee7fae5b15ad8d /ctype
parentca0350310e775f12d1f5a5f8b99d32bc6f69f274 (diff)
Update from main branch.
Diffstat (limited to 'ctype')
-rw-r--r--ctype/ctype.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/ctype/ctype.h b/ctype/ctype.h
index 11f92068d4..a0d840162e 100644
--- a/ctype/ctype.h
+++ b/ctype/ctype.h
@@ -165,20 +165,21 @@ toupper (int __c) __THROW
#if __GNUC__ >= 2 && defined __OPTIMIZE__ && !defined __cplusplus
# define __tobody(c, f, a) \
- ({ int __res; \
- if (sizeof (c) > 1) \
- { \
- if (__builtin_constant_p (c)) \
- { \
- int __c = (c); \
- __res = __c < -128 || __c > 255 ? __c : a[__c]; \
- } \
- else \
- __res = f (c); \
- } \
- else \
- __res = a[(int) (c)]; \
- __res; })
+ (__extension__ \
+ ({ int __res; \
+ if (sizeof (c) > 1) \
+ { \
+ if (__builtin_constant_p (c)) \
+ { \
+ int __c = (c); \
+ __res = __c < -128 || __c > 255 ? __c : a[__c]; \
+ } \
+ else \
+ __res = f (c); \
+ } \
+ else \
+ __res = a[(int) (c)]; \
+ __res; }))
# define tolower(c) __tobody (c, tolower, __ctype_tolower)
# define toupper(c) __tobody (c, toupper, __ctype_toupper)