summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2011-12-27 23:28:01 +0000
committerjilles <jilles@FreeBSD.org>2011-12-27 23:28:01 +0000
commit38173b70a257713ea47722d34867959945a22098 (patch)
treeb97c1602f8a1643fd72a09375e896751f9447090 /lib/libc/locale
parent88405d6b4db506be77862821665c43143a4c5c4b (diff)
downloadFreeBSD-src-38173b70a257713ea47722d34867959945a22098.zip
FreeBSD-src-38173b70a257713ea47722d34867959945a22098.tar.gz
libc: Eliminate some relative relocations in setlocale().
Diffstat (limited to 'lib/libc/locale')
-rw-r--r--lib/libc/locale/setlocale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/locale/setlocale.c b/lib/libc/locale/setlocale.c
index 8cf8fd4..0322af2 100644
--- a/lib/libc/locale/setlocale.c
+++ b/lib/libc/locale/setlocale.c
@@ -57,7 +57,7 @@ __FBSDID("$FreeBSD$");
/*
* Category names for getenv()
*/
-static char *categories[_LC_LAST] = {
+static const char categories[_LC_LAST][12] = {
"LC_ALL",
"LC_COLLATE",
"LC_CTYPE",
OpenPOWER on IntegriCloud