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:
parent
1f400ea463
commit
a88c5a8037
@ -6,7 +6,7 @@ diff -ru glibc-2.16.0-orig/locale/loadarchive.c glibc-2.16.0/locale/loadarchive.
|
|||||||
|
|
||||||
|
|
||||||
+static int
|
+static int
|
||||||
+open_locale_archive ()
|
+open_locale_archive (void)
|
||||||
+{
|
+{
|
||||||
+ int fd = -1;
|
+ int fd = -1;
|
||||||
+ char *path = getenv ("LOCALE_ARCHIVE_2_11");
|
+ char *path = getenv ("LOCALE_ARCHIVE_2_11");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user