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.
This commit is contained in:
Andreas Schwab 1999-03-29 00:46:00 +00:00
parent b9f1792afb
commit bce4e80067
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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.
1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* timezone/README: Update from tzdata1999c and tzcode1999c.

View File

@ -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;
}