summaryrefslogtreecommitdiff
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
parent7fd21cb20202b7175a75758fc787af239d847e0d (diff)
trivial protos
-rw-r--r--usr.sbin/yppoll/yppoll.c8
-rw-r--r--usr.sbin/ypset/ypset.c8
2 files changed, 8 insertions, 8 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)
{
diff --git a/usr.sbin/ypset/ypset.c b/usr.sbin/ypset/ypset.c
index 4670aed4133..634ec670442 100644
--- a/usr.sbin/ypset/ypset.c
+++ b/usr.sbin/ypset/ypset.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ypset.c,v 1.10 2003/06/25 21:44:56 deraadt Exp $ */
+/* $OpenBSD: ypset.c,v 1.11 2003/07/10 08:00:28 deraadt Exp $ */
/* $NetBSD: ypset.c,v 1.8 1996/05/13 02:46:33 thorpej Exp $ */
/*
@@ -28,7 +28,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$OpenBSD: ypset.c,v 1.10 2003/06/25 21:44:56 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: ypset.c,v 1.11 2003/07/10 08:00:28 deraadt Exp $";
#endif
#include <sys/param.h>
@@ -45,14 +45,14 @@ static char rcsid[] = "$OpenBSD: ypset.c,v 1.10 2003/06/25 21:44:56 deraadt Exp
#include <rpcsvc/ypclnt.h>
#include <arpa/inet.h>
-void
+static void
usage(void)
{
fprintf(stderr, "usage: ypset [-h host ] [-d domain] server\n");
exit(1);
}
-int
+static int
bind_tohost(struct sockaddr_in *sin, char *dom, char *server)
{
struct ypbind_setdom ypsd;