From f15fa6acaf2a7df329fb5cad790604693f576999 Mon Sep 17 00:00:00 2001 From: imp Date: Sun, 3 Feb 2002 15:53:02 +0000 Subject: o Eliminate __P o Use new-style function definitions o remove some !__STDC__ code o eliminate register --- libexec/atrun/atrun.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libexec/atrun') diff --git a/libexec/atrun/atrun.c b/libexec/atrun/atrun.c index a1388cd..7780f06 100644 --- a/libexec/atrun/atrun.c +++ b/libexec/atrun/atrun.c @@ -86,7 +86,7 @@ static const char rcsid[] = static debug = 0; void perr(const char *a); -static void usage __P((void)); +static void usage(void); /* Local functions */ static int @@ -98,7 +98,7 @@ write_string(int fd, const char* a) #undef DEBUG_FORK #ifdef DEBUG_FORK static pid_t -myfork() +myfork(void) { pid_t res; res = fork(); @@ -491,7 +491,7 @@ main(int argc, char *argv[]) } static void -usage() +usage(void) { if (debug) fprintf(stderr, "usage: atrun [-l load_avg] [-d]\n"); -- cgit v1.1