From owner-svn-src-all@FreeBSD.ORG Sun Nov 6 08:17:18 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD2D010668AA; Sun, 6 Nov 2011 08:17:18 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 4CAE78FC1E; Sun, 6 Nov 2011 08:17:18 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id pA68HIAD009152; Sun, 6 Nov 2011 08:17:18 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pA68HIif009149; Sun, 6 Nov 2011 08:17:18 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <201111060817.pA68HIif009149@svn.freebsd.org> From: Ed Schouten Date: Sun, 6 Nov 2011 08:17:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r227184 - head/usr.bin/tail X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Nov 2011 08:17:18 -0000 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);