arrfab / rpms / glibc

Forked from rpms/glibc 5 years ago
Clone

Blame SOURCES/glibc-fedora-locarchive.patch

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