From cf5cedb71a8ee923d78d3f66e52ecddbf7a8d994 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 1 Nov 1992 06:50:15 +0000 Subject: Make file-scope variable static. --- src/id.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/id.c') diff --git a/src/id.c b/src/id.c index beddc1356..1c9482fc6 100644 --- a/src/id.c +++ b/src/id.c @@ -68,28 +68,28 @@ void usage (); char *program_name; /* If nonzero, output only the group ID(s). -g */ -int just_group = 0; +static int just_group = 0; /* If nonzero, output user/group name instead of ID number. -n */ -int use_name = 0; +static int use_name = 0; /* If nonzero, output real UID/GID instead of default effective UID/GID. -r */ -int use_real = 0; +static int use_real = 0; /* If nonzero, output only the user ID(s). -u */ -int just_user = 0; +static int just_user = 0; /* If nonzero, output only the supplementary groups. -G */ -int just_group_list = 0; +static int just_group_list = 0; /* The real and effective IDs of the user to print. */ -uid_t ruid, euid; -gid_t rgid, egid; +static uid_t ruid, euid; +static gid_t rgid, egid; /* The number of errors encountered so far. */ -int problems = 0; +static int problems = 0; -struct option longopts[] = +static struct option longopts[] = { {"group", 0, NULL, 'g'}, {"name", 0, NULL, 'n'}, -- cgit v1.2.3-54-g00ecf