]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
include/nls: remove unnecessary declaration
authorKarel Zak <kzak@redhat.com>
Wed, 22 Apr 2020 08:27:12 +0000 (10:27 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 22 Apr 2020 08:27:12 +0000 (10:27 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
include/nls.h
lib/env.c

index dd315c1671926fc2a6755ebfcb68509b9082d4a4..5566908878edc61ac0badbf1d252011f2707478d 100644 (file)
@@ -1,8 +1,6 @@
 #ifndef UTIL_LINUX_NLS_H
 #define UTIL_LINUX_NLS_H
 
-int main(int argc, char *argv[]);
-
 #ifndef LOCALEDIR
 #define LOCALEDIR "/usr/share/locale"
 #endif
index 009130db4128cead31195c7788cf923e7ea108e4..301b332b473a7f71c79148f7525fe355cee28268 100644 (file)
--- a/lib/env.c
+++ b/lib/env.c
@@ -110,7 +110,7 @@ return secure_getenv(arg);
 }
 
 #ifdef TEST_PROGRAM
-int main(int argc, char **argv)
+int main(void)
 {
        char *const *bad;
        char copy[32];