summaryrefslogtreecommitdiff
path: root/src/su.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1992-11-01 07:01:40 +0000
committerJim Meyering <jim@meyering.net>1992-11-01 07:01:40 +0000
commitf33e06711c51330972e2adf07d21a4e69c8f44f6 (patch)
tree58205cdd929d7e9c5dacb7092ecd391f21bc6be5 /src/su.c
parent505e28b60627469b360fc07f57e9709955614e8a (diff)
downloadcoreutils-f33e06711c51330972e2adf07d21a4e69c8f44f6.tar.xz
Make still more file-scope variables `static'.
Diffstat (limited to 'src/su.c')
-rw-r--r--src/su.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/su.c b/src/su.c
index dc29063cc..d118f4a6a 100644
--- a/src/su.c
+++ b/src/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},