]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: new warning fix
authorGilles Espinasse <g.esp@free.fr>
Mon, 13 May 2013 14:52:28 +0000 (16:52 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 21 May 2013 09:38:55 +0000 (11:38 +0200)
2.23 added -Wstrict-prototypes check. Fix make check showing
CC tests/helpers/test_md5.o
tests/helpers/test_md5.c:8: warning: function declaration isn't a prototype

Signed-off-by: Gilles Espinasse <g.esp@free.fr>
tests/helpers/test_md5.c

index 0f37afdc096edbcf9c559fbb2420e36edd21adb9..44f6a933d02bb5f0f7e0bc96361f1819de89b31c 100644 (file)
@@ -4,7 +4,7 @@
 
 #include "md5.h"
 
-int main()
+int main(void)
 {
        int i, ret;
        struct MD5Context ctx;