summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-02-09 09:29:27 +0000
committerache <ache@FreeBSD.org>1997-02-09 09:29:27 +0000
commit89fe9f1d6f1d56206713195c5b0d67f487845672 (patch)
tree6fcf493886780daff1340ef55808c4c216682506 /lib/libc
parent60aa846017d4c72f8e25fbe322c4b77520802199 (diff)
downloadFreeBSD-src-89fe9f1d6f1d56206713195c5b0d67f487845672.zip
FreeBSD-src-89fe9f1d6f1d56206713195c5b0d67f487845672.tar.gz
Move _PathLocale to data-only file, so setrunelocale() not pick up
whole setlocale.c module now. Should go into 2.2
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/locale/setlocale.c2
-rw-r--r--lib/libc/locale/table.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/locale/setlocale.c b/lib/libc/locale/setlocale.c
index b2f9072..656ed85 100644
--- a/lib/libc/locale/setlocale.c
+++ b/lib/libc/locale/setlocale.c
@@ -98,8 +98,6 @@ extern int __time_load_locale __P((const char *)); /* strftime.c */
extern int _xpg4_setrunelocale __P((char *));
#endif
-char *_PathLocale;
-
char *
setlocale(category, locale)
int category;
diff --git a/lib/libc/locale/table.c b/lib/libc/locale/table.c
index f74a401..3882d92 100644
--- a/lib/libc/locale/table.c
+++ b/lib/libc/locale/table.c
@@ -193,3 +193,5 @@ _RuneLocale _DefaultRuneLocale = {
_RuneLocale *_CurrentRuneLocale = &_DefaultRuneLocale;
int __mb_cur_max = 1;
+
+char *_PathLocale;
OpenPOWER on IntegriCloud