[Midnightbsd-cvs] src [11431] trunk/usr.bin/rusers/rusers.c: make some things static here too

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Jul 6 22:50:37 EDT 2018


Revision: 11431
          http://svnweb.midnightbsd.org/src/?rev=11431
Author:   laffer1
Date:     2018-07-06 22:50:37 -0400 (Fri, 06 Jul 2018)
Log Message:
-----------
make some things static here too

Modified Paths:
--------------
    trunk/usr.bin/rusers/rusers.c

Modified: trunk/usr.bin/rusers/rusers.c
===================================================================
--- trunk/usr.bin/rusers/rusers.c	2018-07-07 02:49:57 UTC (rev 11430)
+++ trunk/usr.bin/rusers/rusers.c	2018-07-07 02:50:37 UTC (rev 11431)
@@ -56,10 +56,10 @@
 #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;



More information about the Midnightbsd-cvs mailing list