summaryrefslogtreecommitdiff
path: root/src/chmod.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1992-11-01 03:30:09 +0000
committerJim Meyering <jim@meyering.net>1992-11-01 03:30:09 +0000
commit144b82c6c22abaa2a3247dc33b286662a7aa90d9 (patch)
treebbd19ca5dd38607ced11823281da205091b645d4 /src/chmod.c
parentcdb20814d2dbd70ac952285ebe01372f513849fd (diff)
downloadcoreutils-144b82c6c22abaa2a3247dc33b286662a7aa90d9.tar.xz
Give most file-scope variables the static attribute.
Diffstat (limited to 'src/chmod.c')
-rw-r--r--src/chmod.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/chmod.c b/src/chmod.c
index 1d44c38f7..efdc08cd1 100644
--- a/src/chmod.c
+++ b/src/chmod.c
@@ -45,16 +45,16 @@ void usage ();
char *program_name;
/* If nonzero, change the modes of directories recursively. */
-int recurse;
+static int recurse;
/* If nonzero, force silence (no error messages). */
-int force_silent;
+static int force_silent;
/* If nonzero, describe the modes we set. */
-int verbose;
+static int verbose;
/* If nonzero, describe only modes that change. */
-int changes_only;
+static int changes_only;
/* Parse the ASCII mode given on the command line into a linked list
of `struct mode_change' and apply that to each file argument. */