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

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

Log:
  Add missing static keywords to tee(1)

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

Modified: head/usr.bin/tee/tee.c
==============================================================================
--- head/usr.bin/tee/tee.c	Sun Nov  6 08:17:29 2011	(r227186)
+++ head/usr.bin/tee/tee.c	Sun Nov  6 08:17:35 2011	(r227187)
@@ -56,9 +56,9 @@ typedef struct _list {
 	int fd;
 	const char *name;
 } LIST;
-LIST *head;
+static LIST *head;
 
-void add(int, const char *);
+static void add(int, const char *);
 static void usage(void);
 
 int
@@ -125,7 +125,7 @@ usage(void)
 	exit(1);
 }
 
-void
+static void
 add(int fd, const char *name)
 {
 	LIST *p;



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