summaryrefslogtreecommitdiffstats
path: root/usr.bin/tee
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-11-06 08:17:35 +0000
committered <ed@FreeBSD.org>2011-11-06 08:17:35 +0000
commitd1b8bc9380d8006552c5f2c389edfeff8df34957 (patch)
tree64e68ad9e76a8d8a30e6544bc2e2cf6af8c0f226 /usr.bin/tee
parente878bace95de2632b1b8a423348430056abd09f4 (diff)
downloadFreeBSD-src-d1b8bc9380d8006552c5f2c389edfeff8df34957.zip
FreeBSD-src-d1b8bc9380d8006552c5f2c389edfeff8df34957.tar.gz
Add missing static keywords to tee(1)
Diffstat (limited to 'usr.bin/tee')
-rw-r--r--usr.bin/tee/tee.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tee/tee.c b/usr.bin/tee/tee.c
index dfcdd66..6b5c00c 100644
--- a/usr.bin/tee/tee.c
+++ b/usr.bin/tee/tee.c
@@ -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;
OpenPOWER on IntegriCloud