]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tailf: fix compiler warning [-Wmissing-prototypes]
authorKarel Zak <kzak@redhat.com>
Mon, 16 Jul 2012 16:47:29 +0000 (18:47 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 16 Jul 2012 16:47:29 +0000 (18:47 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
text-utils/tailf.c

index e27a14d3ea1c5188f5ed89924c4a032fa9dacd88..9571645d5c44873d615b75de350f12a925ab79ee 100644 (file)
@@ -210,7 +210,7 @@ static void __attribute__ ((__noreturn__)) usage(FILE *out)
 }
 
 /* parses -N option */
-long old_style_option(int *argc, char **argv)
+static long old_style_option(int *argc, char **argv)
 {
        int i = 1, nargs = *argc;
        long lines = -1;