svn commit: r228921 - head/lib/libc/locale
Jilles Tjoelker
jilles at FreeBSD.org
Tue Dec 27 23:28:01 UTC 2011
Author: jilles
Date: Tue Dec 27 23:28:01 2011
New Revision: 228921
URL: http://svn.freebsd.org/changeset/base/228921
Log:
libc: Eliminate some relative relocations in setlocale().
Modified:
head/lib/libc/locale/setlocale.c
Modified: head/lib/libc/locale/setlocale.c
==============================================================================
--- head/lib/libc/locale/setlocale.c Tue Dec 27 22:14:35 2011 (r228920)
+++ head/lib/libc/locale/setlocale.c Tue Dec 27 23:28:01 2011 (r228921)
@@ -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",
More information about the svn-src-head
mailing list