glibc: fixed a warning caused by nix-locale-archive.patch

If a function shouldn't accept any parameters, use "(void)" instead of "()".
Close #7843. Vcunat purged unimportant changes from this commit.
This commit is contained in:
Marco Schlumpp 2015-05-14 12:13:33 +00:00 committed by Vladimír Čunát
parent 1f400ea463
commit a88c5a8037

View File

@ -6,7 +6,7 @@ diff -ru glibc-2.16.0-orig/locale/loadarchive.c glibc-2.16.0/locale/loadarchive.
+static int
+open_locale_archive ()
+open_locale_archive (void)
+{
+ int fd = -1;
+ char *path = getenv ("LOCALE_ARCHIVE_2_11");