about summary refs log tree commit diff
path: root/locale/locale.h
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 /locale/locale.h
parent3e6b0a28ebc2319262b318790019558f78249c8b (diff)
downloadglibc-77db439eaf8d88da3dfae342631384b143ce33e6.tar.gz
glibc-77db439eaf8d88da3dfae342631384b143ce33e6.tar.xz
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 'locale/locale.h')
-rw-r--r--locale/locale.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/locale/locale.h b/locale/locale.h
index 08fc531d7e..b24ae245fe 100644
--- a/locale/locale.h
+++ b/locale/locale.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,1992,1995-2002,2007 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1992,1995-2002,2007,2009 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
@@ -130,7 +130,7 @@ extern struct lconv *localeconv (void) __THROW;
 __END_NAMESPACE_STD
 
 
-#ifdef	__USE_GNU
+#ifdef	__USE_XOPEN2K
 /* 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
@@ -145,8 +145,6 @@ __END_NAMESPACE_STD
 /* Get locale datatype definition.  */
 # include <xlocale.h>
 
-typedef __locale_t locale_t;
-
 /* Return a reference to a data structure representing a set of locale
    datasets.  Unlike for the CATEGORY parameter for `setlocale' the
    CATEGORY_MASK parameter here uses a single bit for each category,