summaryrefslogtreecommitdiff
path: root/src/rmdir.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/rmdir.c
parentcdb20814d2dbd70ac952285ebe01372f513849fd (diff)
downloadcoreutils-144b82c6c22abaa2a3247dc33b286662a7aa90d9.tar.xz
Give most file-scope variables the static attribute.
Diffstat (limited to 'src/rmdir.c')
-rw-r--r--src/rmdir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rmdir.c b/src/rmdir.c
index 59d2de71a..92ed8b1e9 100644
--- a/src/rmdir.c
+++ b/src/rmdir.c
@@ -33,12 +33,12 @@ void strip_trailing_slashes ();
void usage ();
/* If nonzero, remove empty parent directories. */
-int empty_paths;
+static int empty_paths;
/* The name this program was run with. */
char *program_name;
-struct option longopts[] =
+static struct option longopts[] =
{
{"path", 0, &empty_paths, 1},
{NULL, 0, NULL, 0}