summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-11-16 20:21:54 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-11-22 22:02:17 -0800
commit0e45f64766c0557c8e99a979c70ca6f55664dae7 (patch)
tree344f5039ddc836bc60025f54bba162266ccbcd24 /include
parent6cb02b166361200da35ba14f52cd9aaa493eb0ea (diff)
downloadxorg-lib-libX11-0e45f64766c0557c8e99a979c70ca6f55664dae7.tar.gz
Drop X_LOCALE fallback for OS'es without setlocale()
C89 or bust! This was documented as being needed for "only Lynx, Linux-libc5, OS/2" and has never been enabled in modular builds, since none of those platforms have had anyone step up to add support since the X11R7 conversion to autotools. Mostly performed with unifdef -UX_LOCALE, followed by removal of files left without any purpose, and manual cleanup of remaining references. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/X11/Xlocale.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/include/X11/Xlocale.h b/include/X11/Xlocale.h
index 98946e53..db46e70c 100644
--- a/include/X11/Xlocale.h
+++ b/include/X11/Xlocale.h
@@ -32,28 +32,6 @@ from The Open Group.
#include <X11/Xfuncproto.h>
#include <X11/Xosdefs.h>
-#ifndef X_LOCALE
#include <locale.h>
-#else
-
-#define LC_ALL 0
-#define LC_COLLATE 1
-#define LC_CTYPE 2
-#define LC_MONETARY 3
-#define LC_NUMERIC 4
-#define LC_TIME 5
-
-_XFUNCPROTOBEGIN
-extern char *_Xsetlocale(
- int /* category */,
- _Xconst char* /* name */
-);
-_XFUNCPROTOEND
-
-#define setlocale _Xsetlocale
-
-#include <stddef.h>
-
-#endif /* X_LOCALE */
#endif /* _X11_XLOCALE_H_ */