summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>2003-06-25 22:34:13 +0000
committerphantom <phantom@FreeBSD.org>2003-06-25 22:34:13 +0000
commita30cd00d3ac6058650b0c7f8e2b195022b9321be (patch)
tree7b7f47df6e1310e726b6e9793316502587346265 /lib/libc/locale
parentdabc26f3d315f3698bd850f7e0a792e7e6a1da1f (diff)
downloadFreeBSD-src-a30cd00d3ac6058650b0c7f8e2b195022b9321be.zip
FreeBSD-src-a30cd00d3ac6058650b0c7f8e2b195022b9321be.tar.gz
Move _PathLocale declaration to more logical place (setlocale.c)
Diffstat (limited to 'lib/libc/locale')
-rw-r--r--lib/libc/locale/setlocale.c5
-rw-r--r--lib/libc/locale/table.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/locale/setlocale.c b/lib/libc/locale/setlocale.c
index a4d2af6..48c40bc 100644
--- a/lib/libc/locale/setlocale.c
+++ b/lib/libc/locale/setlocale.c
@@ -85,6 +85,11 @@ static char current_categories[_LC_LAST][ENCODING_LEN + 1] = {
};
/*
+ * Path to locale storage directory
+ */
+char *_PathLocale;
+
+/*
* The locales we are going to try and load
*/
static char new_categories[_LC_LAST][ENCODING_LEN + 1];
diff --git a/lib/libc/locale/table.c b/lib/libc/locale/table.c
index c9226bb..b3a7415 100644
--- a/lib/libc/locale/table.c
+++ b/lib/libc/locale/table.c
@@ -255,4 +255,3 @@ _RuneLocale *_CurrentRuneLocale = &_DefaultRuneLocale;
int __mb_cur_max = 1;
-char *_PathLocale;
OpenPOWER on IntegriCloud