From a88c5a8037e09d04787deb9ac1f4c92ebbefc73a Mon Sep 17 00:00:00 2001 From: Marco Schlumpp Date: Thu, 14 May 2015 12:13:33 +0000 Subject: [PATCH] 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. --- pkgs/development/libraries/glibc/nix-locale-archive.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/glibc/nix-locale-archive.patch b/pkgs/development/libraries/glibc/nix-locale-archive.patch index 88c8adef9226..eeaf21901a39 100644 --- a/pkgs/development/libraries/glibc/nix-locale-archive.patch +++ b/pkgs/development/libraries/glibc/nix-locale-archive.patch @@ -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");