diff options
author | Jim Meyering <jim@meyering.net> | 1992-11-12 04:14:54 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1992-11-12 04:14:54 +0000 |
commit | 88b70560464afbc44c6233abbb7375fd5c464124 (patch) | |
tree | 8cd20ebb560f9ec40e0c17474f507adb5269a8c3 /src/tty.c | |
parent | 5fc2263354892487337ab870520c9b682e8a893e (diff) | |
download | coreutils-88b70560464afbc44c6233abbb7375fd5c464124.tar.xz |
all files: make most variables static and const when possible.
declare lots of functions static.
Diffstat (limited to 'src/tty.c')
-rw-r--r-- | src/tty.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -26,7 +26,7 @@ #include <sys/types.h> #include "system.h" -void usage (); +static void usage (); /* The name under which this program was run. */ char *program_name; @@ -34,7 +34,7 @@ char *program_name; /* If nonzero, return an exit status but produce no output. */ static int silent; -static struct option longopts[] = +static struct option const longopts[] = { {"silent", 0, NULL, 's'}, {"quiet", 0, NULL, 's'}, @@ -79,7 +79,7 @@ main (argc, argv) exit (tty == NULL); } -void +static void usage () { fprintf (stderr, "\ |