aboutsummaryrefslogtreecommitdiff
path: root/libexec/atrun
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-02-03 15:53:02 +0000
committerWarner Losh <imp@FreeBSD.org>2002-02-03 15:53:02 +0000
commite4bc453cc2658df97063d1539941a70980e48058 (patch)
tree45fb32e48f4b8853e4ea238778aa50091474c0de /libexec/atrun
parent63d770d8eaec2bab3bcb56eaee0cde70a1b76769 (diff)
downloadsrc-e4bc453cc2658df97063d1539941a70980e48058.tar.gz
src-e4bc453cc2658df97063d1539941a70980e48058.zip
o Eliminate __P
o Use new-style function definitions o remove some !__STDC__ code o eliminate register
Notes
Notes: svn path=/head/; revision=90148
Diffstat (limited to 'libexec/atrun')
-rw-r--r--libexec/atrun/atrun.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/atrun/atrun.c b/libexec/atrun/atrun.c
index a1388cd4e5e3..7780f06d87d4 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");