summaryrefslogtreecommitdiff
path: root/src/mkdir.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/mkdir.c
parentcdb20814d2dbd70ac952285ebe01372f513849fd (diff)
downloadcoreutils-144b82c6c22abaa2a3247dc33b286662a7aa90d9.tar.xz
Give most file-scope variables the static attribute.
Diffstat (limited to 'src/mkdir.c')
-rw-r--r--src/mkdir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mkdir.c b/src/mkdir.c
index 7a5d08a43..c60c5460f 100644
--- a/src/mkdir.c
+++ b/src/mkdir.c
@@ -38,12 +38,12 @@ void error ();
void usage ();
/* If nonzero, ensure that a path exists. */
-int path_mode;
+static int path_mode;
/* The name this program was run with. */
char *program_name;
-struct option longopts[] =
+static struct option longopts[] =
{
{"mode", 1, NULL, 'm'},
{"path", 0, &path_mode, 1},