aboutsummaryrefslogtreecommitdiff
path: root/ctype
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-02-26 02:23:50 +0000
committerUlrich Drepper <drepper@redhat.com>2009-02-26 02:23:50 +0000
commit77db439eaf8d88da3dfae342631384b143ce33e6 (patch)
treea0a12781bae58ef6519bc2672fcd3bf755beb235 /ctype
parent* include/features.h: Define macros for XPG7/POSIX 2008. (diff)
downloadglibc-77db439eaf8d88da3dfae342631384b143ce33e6.tar.gz
glibc-77db439eaf8d88da3dfae342631384b143ce33e6.tar.bz2
glibc-77db439eaf8d88da3dfae342631384b143ce33e6.zip
* ctype/ctype.h: The *_l functions are in POSIX 2008.
* dirent/dirent.h: alphasort, dirfd, scandir, and fdopendir are in POSIX 2008. /proc/sys/kernel/rtsig_max doesn't exist anymore, use getrlimit
Diffstat (limited to 'ctype')
-rw-r--r--ctype/ctype.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/ctype/ctype.h b/ctype/ctype.h
index 301e25d4d1..e859c4a624 100644
--- a/ctype/ctype.h
+++ b/ctype/ctype.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,92,93,95,96,97,98,99,2001,2002,2004,2007,2008
+/* Copyright (C) 1991,92,93,95,96,97,98,99,2001,2002,2004,2007,2008,2009
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -216,7 +216,7 @@ __NTH (toupper (int __c))
#endif /* Not __NO_CTYPE. */
-#ifdef __USE_GNU
+#ifdef __USE_XOPEN2K8
/* The concept of one static locale per category is not very well
thought out. Many applications will need to process its data using
information from several different locales. Another application is
@@ -292,7 +292,7 @@ extern int toupper_l (int __c, __locale_t __l) __THROW;
# define __isblank_l(c,l) __isctype_l((c), _ISblank, (l))
-# if defined __USE_SVID || defined __USE_MISC || defined __USE_XOPEN
+# if defined __USE_SVID || defined __USE_MISC
# define __isascii_l(c,l) ((l), __isascii (c))
# define __toascii_l(c,l) ((l), __toascii (c))
# endif
@@ -311,14 +311,14 @@ extern int toupper_l (int __c, __locale_t __l) __THROW;
# define isblank_l(c,l) __isblank_l ((c), (l))
-# if defined __USE_SVID || defined __USE_MISC || defined __USE_XOPEN
+# if defined __USE_SVID || defined __USE_MISC
# define isascii_l(c,l) __isascii_l ((c), (l))
# define toascii_l(c,l) __toascii_l ((c), (l))
# endif
# endif /* Not __NO_CTYPE. */
-#endif /* Use GNU. */
+#endif /* Use POSIX 2008. */
__END_DECLS