]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Make still more file-scope variables `static'.
authorJim Meyering <jim@meyering.net>
Sun, 1 Nov 1992 07:01:40 +0000 (07:01 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 1 Nov 1992 07:01:40 +0000 (07:01 +0000)
login-utils/su.c

index dc29063cc8da040809c23f86c624587371ffcbfb..d118f4a6aa09ad3fec631729c8b0c5e2a838070f 100644 (file)
@@ -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},