From: Jim Meyering Date: Sun, 1 Nov 1992 07:01:40 +0000 (+0000) Subject: Make still more file-scope variables `static'. X-Git-Tag: v2.22-rc1~347^2~10^2~92 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=385fd9df8177be4dad7a35092e67845bd8f9c667;p=thirdparty%2Futil-linux.git Make still more file-scope variables `static'. --- diff --git a/login-utils/su.c b/login-utils/su.c index dc29063cc8..d118f4a6aa 100644 --- a/login-utils/su.c +++ b/login-utils/su.c @@ -153,15 +153,15 @@ extern char **environ; char *program_name; /* If nonzero, pass the `-f' option to the subshell. */ -int fast_startup; +static int fast_startup; /* If nonzero, simulate a login instead of just starting a shell. */ -int simulate_login; +static int simulate_login; /* If nonzero, change some environment vars to indicate the user su'd to. */ -int change_environment; +static int change_environment; -struct option longopts[] = +static struct option longopts[] = { {"command", 1, 0, 'c'}, {"fast", 0, &fast_startup, 1},