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",
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to