Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Nov 2011 08:17:42 +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: r227188 - head/usr.bin/tr
Message-ID:  <201111060817.pA68Hg0G009313@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Sun Nov  6 08:17:42 2011
New Revision: 227188
URL: http://svn.freebsd.org/changeset/base/227188

Log:
  Add missing static keywords to tr(1)

Modified:
  head/usr.bin/tr/tr.c

Modified: head/usr.bin/tr/tr.c
==============================================================================
--- head/usr.bin/tr/tr.c	Sun Nov  6 08:17:35 2011	(r227187)
+++ head/usr.bin/tr/tr.c	Sun Nov  6 08:17:42 2011	(r227188)
@@ -58,8 +58,8 @@ static const char sccsid[] = "@(#)tr.c	8
 #include "cset.h"
 #include "extern.h"
 
-STR s1 = { STRING1, NORMAL, 0, OOBCH, 0, { 0, OOBCH }, NULL, NULL };
-STR s2 = { STRING2, NORMAL, 0, OOBCH, 0, { 0, OOBCH }, NULL, NULL };
+static STR s1 = { STRING1, NORMAL, 0, OOBCH, 0, { 0, OOBCH }, NULL, NULL };
+static STR s2 = { STRING2, NORMAL, 0, OOBCH, 0, { 0, OOBCH }, NULL, NULL };
 
 static struct cset *setup(char *, STR *, int, int);
 static void usage(void);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111060817.pA68Hg0G009313>