]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
whereis: non-ANSI definition [smatch scan]
authorKarel Zak <kzak@redhat.com>
Mon, 12 Sep 2011 14:15:19 +0000 (16:15 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 12 Sep 2011 14:15:19 +0000 (16:15 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/whereis.c

index d776b32dda1e36ad70cf834d8fec984c99218533..9f74963abd6f7fdcd39c17a1ed080aa9d1c1ede3 100644 (file)
@@ -343,7 +343,7 @@ getlist(int *argcp, char ***argvp, char ***flagp, int *cntp)
 }
 
 static void
-zerof()
+zerof(void)
 {
        if (sflag && bflag && mflag)
                sflag = bflag = mflag = 0;