aboutsummaryrefslogtreecommitdiff
path: root/ctype
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-01-24 17:11:55 +0000
committerUlrich Drepper <drepper@redhat.com>1999-01-24 17:11:55 +0000
commit4487e30b40031d789f50f684a58b46fd2ea813cd (patch)
treedf385f7ed77483088480bb8e43cdd979f6af1df3 /ctype
parent6a3b5b5c7149b75fcb85d053ad993e9dff0e39a4 (diff)
downloadglibc-4487e30b40031d789f50f684a58b46fd2ea813cd.tar
glibc-4487e30b40031d789f50f684a58b46fd2ea813cd.tar.gz
glibc-4487e30b40031d789f50f684a58b46fd2ea813cd.tar.bz2
glibc-4487e30b40031d789f50f684a58b46fd2ea813cd.zip
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 <aj@arthur.rhein-neckar.de> * 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 <drepper@cygnus.com> * ctype/ctype.c (toupper): Correct variable names from last change.
Diffstat (limited to 'ctype')
-rw-r--r--ctype/ctype.h7
1 files changed, 4 insertions, 3 deletions
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;