From 4487e30b40031d789f50f684a58b46fd2ea813cd Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 24 Jan 1999 17:11:55 +0000 Subject: Update. * po/sv.po: Update from translation team. * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add __vfork as alias. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. 1999-01-24 Andreas Jaeger * ctype/ctype.h (toupper,tolower): Use __inline instead of inline, define inline functions only when optimizing for speed and __USE_EXTERN_INLINES is set. 1999-01-24 Ulrich Drepper * ctype/ctype.c (toupper): Correct variable names from last change. --- ctype/ctype.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ctype/ctype.h') diff --git a/ctype/ctype.h b/ctype/ctype.h index 7b4ef36c53..52bb56eeec 100644 --- a/ctype/ctype.h +++ b/ctype/ctype.h @@ -150,14 +150,15 @@ __exctype (_tolower); # define isblank(c) __isctype((c), _ISblank) #endif -#if __GNUC__ >= 2 -extern inline int +#if defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__ \ + && defined __USE_EXTERN_INLINES +extern __inline int tolower (int __c) { return __c >= -128 && __c < 256 ? __tolower (__c) : __c; } -extern inline int +extern __inline int toupper (int __c) { return __c >= -128 && __c < 256 ? __toupper (__c) : __c; -- cgit 1.4.1