diff options
Diffstat (limited to 'usr.sbin/yppoll')
-rw-r--r-- | usr.sbin/yppoll/yppoll.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/yppoll/yppoll.c b/usr.sbin/yppoll/yppoll.c index ce66c9f..c528b0d 100644 --- a/usr.sbin/yppoll/yppoll.c +++ b/usr.sbin/yppoll/yppoll.c @@ -48,15 +48,14 @@ static const char rcsid[] = #include <rpcsvc/ypclnt.h> static void -usage() +usage(void) { fprintf(stderr, "usage: yppoll [-h host] [-d domainname] mapname\n"); exit(1); } int -main(argc, argv) -char **argv; +main(int argc, char *argv[]) { char *domainname; char *hostname = "localhost"; |