summaryrefslogtreecommitdiffstats
path: root/text-utils
diff options
context:
space:
mode:
authorKarel Zak2012-07-16 18:47:29 +0200
committerKarel Zak2012-07-16 18:47:29 +0200
commit81481b5a91348281154ea7b0e6db125c2078673f (patch)
tree3fc7c30c1d2634c52125860b3938b38ef830b542 /text-utils
parentcolrm: fix compiler warning [-Wmissing-prototypes] (diff)
downloadkernel-qcow2-util-linux-81481b5a91348281154ea7b0e6db125c2078673f.tar.gz
kernel-qcow2-util-linux-81481b5a91348281154ea7b0e6db125c2078673f.tar.xz
kernel-qcow2-util-linux-81481b5a91348281154ea7b0e6db125c2078673f.zip
tailf: fix compiler warning [-Wmissing-prototypes]
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'text-utils')
-rw-r--r--text-utils/tailf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text-utils/tailf.c b/text-utils/tailf.c
index e27a14d3e..9571645d5 100644
--- a/text-utils/tailf.c
+++ b/text-utils/tailf.c
@@ -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;