summaryrefslogtreecommitdiff
path: root/src/chgrp.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/chgrp.c
parentcdb20814d2dbd70ac952285ebe01372f513849fd (diff)
downloadcoreutils-144b82c6c22abaa2a3247dc33b286662a7aa90d9.tar.xz
Give most file-scope variables the static attribute.
Diffstat (limited to 'src/chgrp.c')
-rw-r--r--src/chgrp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/chgrp.c b/src/chgrp.c
index aeb638f0a..62358af1c 100644
--- a/src/chgrp.c
+++ b/src/chgrp.c
@@ -49,21 +49,21 @@ void usage ();
char *program_name;
/* If nonzero, change the ownership 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 files we process. */
-int verbose;
+static int verbose;
/* If nonzero, describe only owners or groups that change. */
-int changes_only;
+static int changes_only;
/* The name of the group to which ownership of the files is being given. */
-char *groupname;
+static char *groupname;
-struct option long_options[] =
+static struct option long_options[] =
{
{"recursive", 0, 0, 'R'},
{"changes", 0, 0, 'c'},