summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-07-10 08:00:28 +0000
committerderaadt <deraadt@openbsd.org>2003-07-10 08:00:28 +0000
commit3bff6cae612702b7714a32cb3129322f1d5d9ded (patch)
treed7dc5ab16927ab51d836ce737ac19483b5813178
parentsimplify and cleanup examples; we now only setup flows for (diff)
downloadwireguard-openbsd-3bff6cae612702b7714a32cb3129322f1d5d9ded.tar.xz
wireguard-openbsd-3bff6cae612702b7714a32cb3129322f1d5d9ded.zip
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;