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