diff options
author | Jim Meyering <jim@meyering.net> | 1996-01-06 11:44:05 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-01-06 11:44:05 +0000 |
commit | 53398947a1482e8b83e204186969af6147eaae6e (patch) | |
tree | bf4de064df1f022c2e01051b45cafc454ed839c4 /src/nice.c | |
parent | 5e14cce7ae90f69cf4609b7731377e934e79c219 (diff) | |
download | coreutils-53398947a1482e8b83e204186969af6147eaae6e.tar.xz |
Protoize and __P-protect forward dcls.
Diffstat (limited to 'src/nice.c')
-rw-r--r-- | src/nice.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/nice.c b/src/nice.c index 9b54abb98..61d4d87a8 100644 --- a/src/nice.c +++ b/src/nice.c @@ -41,8 +41,8 @@ #define GET_PRIORITY() getpriority (PRIO_PROCESS, 0) #endif -static int isinteger (); -static void usage (); +static int isinteger __P ((char *s)); +static void usage __P ((int status)); /* The name this program was run with. */ char *program_name; @@ -54,9 +54,7 @@ static struct option const longopts[] = }; void -main (argc, argv) - int argc; - char **argv; +main (int argc, char **argv) { int current_priority; int adjustment = 0; @@ -164,8 +162,7 @@ main (argc, argv) zero if not. */ static int -isinteger (s) - char *s; +isinteger (char *s) { if (*s == '-' || *s == '+') ++s; @@ -181,8 +178,7 @@ isinteger (s) } static void -usage (status) - int status; +usage (int status) { if (status != 0) fprintf (stderr, _("Try `%s --help' for more information.\n"), |