diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-07-08 21:18:14 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-07-08 21:18:14 +0000 |
commit | 699c4ce680db1fb49447b9e177bccaa2b451e33c (patch) | |
tree | 5abc4259a7dcc07ab250be730cfe703ce01ffaaf /libexec/rpc.rwalld | |
parent | dc7875ea2fd93df64c33fcce973754bcd62b2343 (diff) |
-Wall
Diffstat (limited to 'libexec/rpc.rwalld')
-rw-r--r-- | libexec/rpc.rwalld/rwalld.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/libexec/rpc.rwalld/rwalld.c b/libexec/rpc.rwalld/rwalld.c index 7a8f5f7cd01..b43dfc79136 100644 --- a/libexec/rpc.rwalld/rwalld.c +++ b/libexec/rpc.rwalld/rwalld.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rwalld.c,v 1.4 2001/01/28 19:34:32 niklas Exp $ */ +/* $OpenBSD: rwalld.c,v 1.5 2001/07/08 21:18:11 deraadt Exp $ */ /* * Copyright (c) 1993 Christopher G. Demetriou @@ -30,19 +30,20 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: rwalld.c,v 1.4 2001/01/28 19:34:32 niklas Exp $"; +static char rcsid[] = "$OpenBSD: rwalld.c,v 1.5 2001/07/08 21:18:11 deraadt Exp $"; #endif /* not lint */ -#include <unistd.h> #include <sys/types.h> +#include <sys/socket.h> +#include <sys/wait.h> #include <pwd.h> +#include <stdlib.h> #include <stdio.h> #include <string.h> #include <syslog.h> #include <errno.h> -#include <sys/socket.h> +#include <unistd.h> #include <signal.h> -#include <sys/wait.h> #include <rpc/rpc.h> #include <rpcsvc/rwall.h> @@ -63,6 +64,7 @@ cleanup() _exit(0); } +int main(argc, argv) int argc; char *argv[]; |