summaryrefslogtreecommitdiffstats
path: root/usr.bin/rusers
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-11-06 08:16:47 +0000
committered <ed@FreeBSD.org>2011-11-06 08:16:47 +0000
commit75aea7ad851f1d2875e1cf63ce02e8ca48252687 (patch)
tree446bd21a4e48366b476e7ac3b07744ce8833ab7c /usr.bin/rusers
parent04ff92c413c49bcbdb0da60ac60342076da7366a (diff)
downloadFreeBSD-src-75aea7ad851f1d2875e1cf63ce02e8ca48252687.zip
FreeBSD-src-75aea7ad851f1d2875e1cf63ce02e8ca48252687.tar.gz
Add missing static keywords to rusers(1)
Diffstat (limited to 'usr.bin/rusers')
-rw-r--r--usr.bin/rusers/rusers.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/rusers/rusers.c b/usr.bin/rusers/rusers.c
index 705c887..4d641dc 100644
--- a/usr.bin/rusers/rusers.c
+++ b/usr.bin/rusers/rusers.c
@@ -56,10 +56,10 @@ __FBSDID("$FreeBSD$");
#define HOST_WIDTH 20
#define LINE_WIDTH 15
-int longopt;
-int allopt;
+static int longopt;
+static int allopt;
-struct host_list {
+static struct host_list {
struct host_list *next;
struct in_addr addr;
} *hosts;
OpenPOWER on IntegriCloud