summaryrefslogtreecommitdiff
path: root/src/tail.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-01-14 18:25:16 +0000
committerJim Meyering <jim@meyering.net>1999-01-14 18:25:16 +0000
commit9fec9172beaf67d1e16ae13b1f3ac44135cc8363 (patch)
treed787cf23dce38b0e2af16cc93c345f106c095801 /src/tail.c
parentda258119328fe4af0e0aa0d6f292600732aa0bb4 (diff)
downloadcoreutils-9fec9172beaf67d1e16ae13b1f3ac44135cc8363.tar.xz
Don't prototype usage as static.
Diffstat (limited to 'src/tail.c')
-rw-r--r--src/tail.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tail.c b/src/tail.c
index a8edb5769..90d8d49b4 100644
--- a/src/tail.c
+++ b/src/tail.c
@@ -183,7 +183,7 @@ static struct option const long_options[] =
{NULL, 0, NULL, 0}
};
-static void
+void
usage (int status)
{
if (status != 0)
@@ -1268,8 +1268,8 @@ parse_options (int argc, char **argv,
if (optarg == NULL)
follow_mode = DEFAULT_FOLLOW_MODE;
else
- XARGMATCH (&follow_mode, "--follow", optarg,
- follow_mode_string, follow_mode_map, usage (1));
+ follow_mode = XARGMATCH ("--follow", optarg,
+ follow_mode_string, follow_mode_map);
break;
case CHAR_MAX + 1: