Date: Sun, 6 Nov 2011 08:17:18 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r227184 - head/usr.bin/tail Message-ID: <201111060817.pA68HIif009149@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ed Date: Sun Nov 6 08:17:17 2011 New Revision: 227184 URL: http://svn.freebsd.org/changeset/base/227184 Log: Add missing static keywords to tail(1) Modified: head/usr.bin/tail/forward.c head/usr.bin/tail/tail.c Modified: head/usr.bin/tail/forward.c ============================================================================== --- head/usr.bin/tail/forward.c Sun Nov 6 08:17:11 2011 (r227183) +++ head/usr.bin/tail/forward.c Sun Nov 6 08:17:17 2011 (r227184) @@ -66,9 +66,9 @@ static void set_events(file_info_t *file #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; Modified: head/usr.bin/tail/tail.c ============================================================================== --- head/usr.bin/tail/tail.c Sun Nov 6 08:17:11 2011 (r227183) +++ head/usr.bin/tail/tail.c Sun Nov 6 08:17:17 2011 (r227184) @@ -58,7 +58,7 @@ static const char sccsid[] = "@(#)tail.c 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111060817.pA68HIif009149>