summaryrefslogtreecommitdiff
path: root/src/who.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1992-11-01 06:50:15 +0000
committerJim Meyering <jim@meyering.net>1992-11-01 06:50:15 +0000
commitcf5cedb71a8ee923d78d3f66e52ecddbf7a8d994 (patch)
treef17fae9aa7c21eeab8cec5cacb1464152c08bd98 /src/who.c
parentccbd1d7dc5189f4637468a8136f672e60ee0e531 (diff)
downloadcoreutils-cf5cedb71a8ee923d78d3f66e52ecddbf7a8d994.tar.xz
Make file-scope variable static.
Diffstat (limited to 'src/who.c')
-rw-r--r--src/who.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/who.c b/src/who.c
index d5f40dc55..0612b6d6b 100644
--- a/src/who.c
+++ b/src/who.c
@@ -76,21 +76,21 @@ char *program_name;
/* If nonzero, display only a list of usernames and count of
the users logged on.
Ignored for `who am i'. */
-int short_list;
+static int short_list;
/* If nonzero, display the hours:minutes since each user has touched
the keyboard, or "." if within the last minute, or "old" if
not within the last day. */
-int include_idle;
+static int include_idle;
/* If nonzero, display a line at the top describing each field. */
-int include_heading;
+static int include_heading;
/* If nonzero, display a `+' for each user if mesg y, a `-' if mesg n,
or a `?' if their tty cannot be statted. */
-int include_mesg;
+static int include_mesg;
-struct option longopts[] =
+static struct option longopts[] =
{
{"count", 0, NULL, 'q'},
{"idle", 0, NULL, 'u'},