summaryrefslogtreecommitdiff
path: root/usr.sbin/yppoll/yppoll.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-10 08:00:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-10 08:00:29 +0000
commit386b5882adf72040ab3ef4905399571a746f75a5 (patch)
treeb8b03628c4d77682df1810e6ad050b30478a97c2 /usr.sbin/yppoll/yppoll.c
parent7fd21cb20202b7175a75758fc787af239d847e0d (diff)
trivial protos
Diffstat (limited to 'usr.sbin/yppoll/yppoll.c')
-rw-r--r--usr.sbin/yppoll/yppoll.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/yppoll/yppoll.c b/usr.sbin/yppoll/yppoll.c
index 0af5881b81e..195a3b7093b 100644
--- a/usr.sbin/yppoll/yppoll.c
+++ b/usr.sbin/yppoll/yppoll.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: yppoll.c,v 1.6 2003/06/02 04:00:17 deraadt Exp $ */
+/* $OpenBSD: yppoll.c,v 1.7 2003/07/10 08:00:28 deraadt Exp $ */
/* $NetBSD: yppoll.c,v 1.5 1996/05/13 02:46:36 thorpej Exp $ */
/*
@@ -36,7 +36,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: yppoll.c,v 1.6 2003/06/02 04:00:17 deraadt Exp $";
+static char rcsid[] = "$Id: yppoll.c,v 1.7 2003/07/10 08:00:28 deraadt Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -55,14 +55,14 @@ static char rcsid[] = "$Id: yppoll.c,v 1.6 2003/06/02 04:00:17 deraadt Exp $";
#include <rpcsvc/yp_prot.h>
#include <rpcsvc/ypclnt.h>
-void
+static void
usage(void)
{
fprintf(stderr, "Usage: yppoll [-h host] [-d domainname] mapname\n");
exit(1);
}
-int
+static int
get_remote_info(char *indomain, char *inmap, char *server, int *outorder,
char **outname)
{