aboutsummaryrefslogtreecommitdiff
path: root/ctype
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>1999-03-29 00:46:00 +0000
committerAndreas Schwab <schwab@suse.de>1999-03-29 00:46:00 +0000
commitbce4e8006770644963bcf20a3fbe96f46383f76f (patch)
tree0a943084a07eeba0c237969aa4e6a0fc8e763682 /ctype
parentb9f1792afb7d0aa747cf443d5fb8ac705b9c9d87 (diff)
downloadglibc-bce4e8006770644963bcf20a3fbe96f46383f76f.tar
glibc-bce4e8006770644963bcf20a3fbe96f46383f76f.tar.gz
glibc-bce4e8006770644963bcf20a3fbe96f46383f76f.tar.bz2
glibc-bce4e8006770644963bcf20a3fbe96f46383f76f.zip
Updated.
1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> * ctype/ctype.h (tolower, toupper): Add __THROW declaration to inline functions. Closes PR libc/1049.
Diffstat (limited to 'ctype')
-rw-r--r--ctype/ctype.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ctype/ctype.h b/ctype/ctype.h
index de7ca1e355..fd4f9e8ca9 100644
--- a/ctype/ctype.h
+++ b/ctype/ctype.h
@@ -151,13 +151,13 @@ __exctype (_tolower);
#if defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__ \
&& defined __USE_EXTERN_INLINES
extern __inline int
-tolower (int __c)
+tolower (int __c) __THROW
{
return __c >= -128 && __c < 256 ? __ctype_tolower[__c] : __c;
}
extern __inline int
-toupper (int __c)
+toupper (int __c) __THROW
{
return __c >= -128 && __c < 256 ? __ctype_toupper[__c] : __c;
}