]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - ctype/ctype.c
* sysdeps/generic/libc-tls.c (__pthread_initialize_minimal): Pass
[thirdparty/glibc.git] / ctype / ctype.c
index 4bcbd30ef7688c1072f3022951bdac075b342763..4d5b0d2307ccda3f4ffecc7a3a183b5d2821a381 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1997, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,97,99,2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -36,6 +36,11 @@ func (isspace, _ISspace)
 func (isupper, _ISupper)
 func (isxdigit, _ISxdigit)
 
+#define __ctype_tolower \
+  ((uint32_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_TOLOWER) + 128)
+#define __ctype_toupper \
+  ((uint32_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_TOUPPER) + 128)
+
 int
 tolower (int c)
 {