From 53398947a1482e8b83e204186969af6147eaae6e Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 6 Jan 1996 11:44:05 +0000 Subject: Protoize and __P-protect forward dcls. --- src/nice.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'src/nice.c') 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"), -- cgit v1.2.3-70-g09d2