summaryrefslogtreecommitdiffstats
path: root/usr.sbin/yppoll
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-02-06 15:26:07 +0000
committerdes <des@FreeBSD.org>2002-02-06 15:26:07 +0000
commitd7b064e238d98e1c9942cfb6e53c0767893310b1 (patch)
tree9c2a46d61c0b1ec2538854e870b6861acfd2ee7a /usr.sbin/yppoll
parent0f2cb9b020b907000a28323fc57a82fdb7d6626d (diff)
downloadFreeBSD-src-d7b064e238d98e1c9942cfb6e53c0767893310b1.zip
FreeBSD-src-d7b064e238d98e1c9942cfb6e53c0767893310b1.tar.gz
ANSIfy and remove some dead code.
Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'usr.sbin/yppoll')
-rw-r--r--usr.sbin/yppoll/yppoll.c5
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";
OpenPOWER on IntegriCloud