From bce4e8006770644963bcf20a3fbe96f46383f76f Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 29 Mar 1999 00:46:00 +0000 Subject: [PATCH] Updated. 1999-03-28 Andreas Jaeger * ctype/ctype.h (tolower, toupper): Add __THROW declaration to inline functions. Closes PR libc/1049. --- ChangeLog | 5 +++++ ctype/ctype.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index cfe31b936e..bbf6955465 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-03-28 Andreas Jaeger + + * ctype/ctype.h (tolower, toupper): Add __THROW declaration to + inline functions. Closes PR libc/1049. + 1999-03-25 Andreas Jaeger * timezone/README: Update from tzdata1999c and tzcode1999c. 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; }