]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: fix compiler warnings [-Wunused-parameter]
authorKarel Zak <kzak@redhat.com>
Mon, 1 Aug 2011 12:57:05 +0000 (14:57 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 1 Aug 2011 13:27:26 +0000 (15:27 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/helpers/test_byteswap.c
tests/helpers/test_md5.c

index 3932d5a13b0518b5a664bc573ad8fdfd73acd92e..7467ed2707c9f876eceb803656e086bed8d48626 100644 (file)
@@ -48,7 +48,7 @@ uint64_t ary64[] = {
        0x0000000000000000, 0x0000000000000000
        };
 
-int main(int argc, char **argv)
+int main()
 {
        int     i;
        int     errors = 0;
index 7f1e4f358953af21198fa5d92b53697f5b783591..0f37afdc096edbcf9c559fbb2420e36edd21adb9 100644 (file)
@@ -4,8 +4,7 @@
 
 #include "md5.h"
 
-int
-main(int argc, char *argv[])
+int main()
 {
        int i, ret;
        struct MD5Context ctx;