diff options
author | ed <ed@FreeBSD.org> | 2011-11-06 08:17:17 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2011-11-06 08:17:17 +0000 |
commit | ae674f5b37ec764b04e1c17abf5eaac2d7d22c98 (patch) | |
tree | 25b85a359530c2704f86b63b564119d3329ea59c | |
parent | 0d6f43e2bd827184dfb1da7240922e4aa8cf28a4 (diff) | |
download | FreeBSD-src-ae674f5b37ec764b04e1c17abf5eaac2d7d22c98.zip FreeBSD-src-ae674f5b37ec764b04e1c17abf5eaac2d7d22c98.tar.gz |
Add missing static keywords to tail(1)
-rw-r--r-- | usr.bin/tail/forward.c | 6 | ||||
-rw-r--r-- | usr.bin/tail/tail.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/tail/forward.c b/usr.bin/tail/forward.c index e1e0638..3c605bf 100644 --- a/usr.bin/tail/forward.c +++ b/usr.bin/tail/forward.c @@ -66,9 +66,9 @@ static void set_events(file_info_t *files); #define USE_KQUEUE 1 #define ADD_EVENTS 2 -struct kevent *ev; -int action = USE_SLEEP; -int kq; +static struct kevent *ev; +static int action = USE_SLEEP; +static int kq; static const file_info_t *last; diff --git a/usr.bin/tail/tail.c b/usr.bin/tail/tail.c index a40646a..a53a568 100644 --- a/usr.bin/tail/tail.c +++ b/usr.bin/tail/tail.c @@ -58,7 +58,7 @@ static const char sccsid[] = "@(#)tail.c 8.1 (Berkeley) 6/6/93"; int Fflag, fflag, qflag, rflag, rval, no_files; -file_info_t *files; +static file_info_t *files; static void obsolete(char **); static void usage(void); |