aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/XlcPubI.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-11-16 20:21:54 -0800
committerUlrich Sibiller <uli42@gmx.de>2016-10-19 21:40:29 +0200
commit35dc4784bcee7a42a83cc1dbab13fb82cfcc5803 (patch)
treeb6b5d532cd17665312bcea61337e7f33801e981d /nx-X11/lib/X11/XlcPubI.h
parentf04e1a6d1f3cecc041a2495430a960a931bd1d5b (diff)
downloadnx-libs-35dc4784bcee7a42a83cc1dbab13fb82cfcc5803.tar.gz
nx-libs-35dc4784bcee7a42a83cc1dbab13fb82cfcc5803.tar.bz2
nx-libs-35dc4784bcee7a42a83cc1dbab13fb82cfcc5803.zip
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> Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/lib/X11/XlcPubI.h')
-rw-r--r--nx-X11/lib/X11/XlcPubI.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/nx-X11/lib/X11/XlcPubI.h b/nx-X11/lib/X11/XlcPubI.h
index 44d0d086c..c454c7ddd 100644
--- a/nx-X11/lib/X11/XlcPubI.h
+++ b/nx-X11/lib/X11/XlcPubI.h
@@ -232,12 +232,6 @@ extern void _XlcGetLocaleDataBase(
int* /* count */
);
-#ifdef X_LOCALE
-extern char *
-_Xsetlocale(
- int category,
- _Xconst char *name);
-#else
#if defined(__APPLE__) || defined(__DARWIN__)
extern char *
_Xsetlocale(
@@ -247,7 +241,6 @@ _Xsetlocale(
extern char *_XlcMapOSLocaleName(
char *osname,
char *siname);
-#endif
extern int
_Xmbstoutf8(