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