diff options
author | Jim Meyering <jim@meyering.net> | 1992-11-09 17:39:24 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1992-11-09 17:39:24 +0000 |
commit | 17387a999c446fab250321a02cbcb7774ec6c032 (patch) | |
tree | dc1908dd9bcc3fdd6d4f1dadfae178b12afe08f0 /src/mkfifo.c | |
parent | 925487607cfed5d4e68ffa375bc17941934dba07 (diff) | |
download | coreutils-17387a999c446fab250321a02cbcb7774ec6c032.tar.xz |
Declared lots of external functions and variables static.
Made several statically-initialized arrays `const.'
Diffstat (limited to 'src/mkfifo.c')
-rw-r--r-- | src/mkfifo.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mkfifo.c b/src/mkfifo.c index 24a943744..b2bc15247 100644 --- a/src/mkfifo.c +++ b/src/mkfifo.c @@ -29,12 +29,13 @@ #include "modechange.h" void error (); -void usage (); + +static void usage (); /* The name this program was run with. */ char *program_name; -static struct option longopts[] = +static struct option const longopts[] = { {"mode", 1, NULL, 'm'}, {NULL, 0, NULL, 0} @@ -97,7 +98,7 @@ main (argc, argv) } #ifdef S_ISFIFO -void +static void usage () { fprintf (stderr, "\ |