ce426f
This is a part of commit glibc-2.3.3-1492-ga891c7b,
ce426f
needed for fedora/build-locale-archive.c only.
ce426f
ce426f
diff -Nru glibc-2.17-c758a686/ChangeLog.17 glibc-2.17-c758a686/ChangeLog.17
ce426f
--- glibc-2.17-c758a686/ChangeLog.17	2012-06-05 07:42:49.000000000 -0600
ce426f
+++ glibc-2.17-c758a686/ChangeLog.17	2012-06-07 12:15:21.564319619 -0600
ce426f
@@ -11818,6 +11829,10 @@ d2009-10-30  Ulrich Drepper  
ce426f
 	[BZ #4368]
ce426f
 	* stdlib/stdlib.h: Remove obsolete part of comment for realpath.
ce426f
ce426f
+2007-04-16  Jakub Jelinek  <jakub@redhat.com>
ce426f
+
ce426f
+	* locale/programs/locarchive.c (add_alias, insert_name): Remove static.
ce426f
+
ce426f
 2007-04-16  Ulrich Drepper  <drepper@redhat.com>
ce426f
 
ce426f
 	[BZ #4364]
ce426f
diff -Nru glibc-2.17-c758a686/locale/programs/locarchive.c glibc-2.17-c758a686/locale/programs/locarchive.c
ce426f
--- glibc-2.17-c758a686/locale/programs/locarchive.c	2012-06-05 07:42:49.000000000 -0600
ce426f
+++ glibc-2.17-c758a686/locale/programs/locarchive.c	2012-06-07 12:15:21.585319540 -0600
ce426f
@@ -252,9 +252,9 @@ oldlocrecentcmp (const void *a, const vo
ce426f
 /* forward decls for below */
ce426f
 static uint32_t add_locale (struct locarhandle *ah, const char *name,
ce426f
 			    locale_data_t data, bool replace);
ce426f
-static void add_alias (struct locarhandle *ah, const char *alias,
ce426f
-		       bool replace, const char *oldname,
ce426f
-		       uint32_t *locrec_offset_p);
ce426f
+void add_alias (struct locarhandle *ah, const char *alias,
ce426f
+		bool replace, const char *oldname,
ce426f
+		uint32_t *locrec_offset_p);
ce426f
 
ce426f
 
ce426f
 static bool
ce426f
@@ -635,7 +635,7 @@ close_archive (struct locarhandle *ah)
ce426f
 #include "../../intl/explodename.c"
ce426f
 #include "../../intl/l10nflist.c"
ce426f
 
ce426f
-static struct namehashent *
ce426f
+struct namehashent *
ce426f
 insert_name (struct locarhandle *ah,
ce426f
 	     const char *name, size_t name_len, bool replace)
ce426f
 {
ce426f
@@ -693,7 +693,7 @@ insert_name (struct locarhandle *ah,
ce426f
   return &namehashtab[idx];
ce426f
 }
ce426f
 
ce426f
-static void
ce426f
+void
ce426f
 add_alias (struct locarhandle *ah, const char *alias, bool replace,
ce426f
 	   const char *oldname, uint32_t *locrec_offset_p)
ce426f
 {