summaryrefslogtreecommitdiffstats
path: root/misc-utils/whereis.c
diff options
context:
space:
mode:
authorKarel Zak2011-09-12 16:15:19 +0200
committerKarel Zak2011-09-12 16:15:19 +0200
commitac9b7477d257f987e5f09b3007f43e5349abdde9 (patch)
tree16109d336304bc43b2b7ef535bcdd613f250a127 /misc-utils/whereis.c
parentlogger: non-ANSI definition [smatch scan] (diff)
downloadkernel-qcow2-util-linux-ac9b7477d257f987e5f09b3007f43e5349abdde9.tar.gz
kernel-qcow2-util-linux-ac9b7477d257f987e5f09b3007f43e5349abdde9.tar.xz
kernel-qcow2-util-linux-ac9b7477d257f987e5f09b3007f43e5349abdde9.zip
whereis: non-ANSI definition [smatch scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/whereis.c')
-rw-r--r--misc-utils/whereis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc-utils/whereis.c b/misc-utils/whereis.c
index d776b32dd..9f74963ab 100644
--- a/misc-utils/whereis.c
+++ b/misc-utils/whereis.c
@@ -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;