summaryrefslogtreecommitdiff
path: root/src/mknod.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/mknod.c
parentcdb20814d2dbd70ac952285ebe01372f513849fd (diff)
downloadcoreutils-144b82c6c22abaa2a3247dc33b286662a7aa90d9.tar.xz
Give most file-scope variables the static attribute.
Diffstat (limited to 'src/mknod.c')
-rw-r--r--src/mknod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mknod.c b/src/mknod.c
index 1c582935d..d49070cbd 100644
--- a/src/mknod.c
+++ b/src/mknod.c
@@ -39,7 +39,7 @@ void usage ();
/* The name this program was run with. */
char *program_name;
-struct option longopts[] =
+static struct option longopts[] =
{
{"mode", 1, NULL, 'm'},
{NULL, 0, NULL, 0}