From owner-svn-src-all@FreeBSD.ORG Sun Nov 6 08:13:52 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 1D751106564A; Sun, 6 Nov 2011 08:13:52 +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 0D10F8FC0A; Sun, 6 Nov 2011 08:13:52 +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 pA68Dpbq007849; Sun, 6 Nov 2011 08:13:51 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pA68Dp01007847; Sun, 6 Nov 2011 08:13:51 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <201111060813.pA68Dp01007847@svn.freebsd.org> From: Ed Schouten Date: Sun, 6 Nov 2011 08:13:51 +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: r227152 - head/usr.bin/banner 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:13:52 -0000 Author: ed Date: Sun Nov 6 08:13:51 2011 New Revision: 227152 URL: http://svn.freebsd.org/changeset/base/227152 Log: Add missing static keywords to banner(1) Modified: head/usr.bin/banner/banner.c Modified: head/usr.bin/banner/banner.c ============================================================================== --- head/usr.bin/banner/banner.c Sun Nov 6 08:10:41 2011 (r227151) +++ head/usr.bin/banner/banner.c Sun Nov 6 08:13:51 2011 (r227152) @@ -59,7 +59,7 @@ __FBSDID("$FreeBSD$"); #define NBYTES 9271 /* Pointers into data_table for each ASCII char */ -const int asc_ptr[NCHARS] = { +static const int asc_ptr[NCHARS] = { /* ^@ */ 0, 0, 0, 0, 0, 0, 0, 0, /* ^H */ 0, 0, 0, 0, 0, 0, 0, 0, /* ^P */ 0, 0, 0, 0, 0, 0, 0, 0, @@ -86,7 +86,7 @@ const int asc_ptr[NCHARS] = { * is the next elt in array) and goto second * next element in array. */ -const unsigned char data_table[NBYTES] = { +static const unsigned char data_table[NBYTES] = { /* 0 1 2 3 4 5 6 7 8 9 */ /* 0 */ 129, 227, 130, 34, 6, 90, 19, 129, 32, 10, /* 10 */ 74, 40, 129, 31, 12, 64, 53, 129, 30, 14, @@ -1018,11 +1018,11 @@ const unsigned char data_table[NBYTES] = /* 9270 */ 193 }; -char line[DWIDTH]; -char *message; -char print[DWIDTH]; -int debug, i, j, linen, max, nchars, pc, term, trace, x, y; -int width = DWIDTH; /* -w option: scrunch letters to 80 columns */ +static char line[DWIDTH]; +static char *message; +static char print[DWIDTH]; +static int debug, i, j, linen, max, nchars, pc, term, trace, x, y; +static int width = DWIDTH; /* -w option: scrunch letters to 80 columns */ static void usage(void);