summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-06 23:26:19 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-06 23:26:19 +0000
commitf3480b17e63ed47425ce592b05719e5226d4fb48 (patch)
tree01118246617b6c11141febc949bfa8aa74b386e0
parentc22dd0188fbc37ad6f1f29c23af185535501239d (diff)
protos
-rw-r--r--usr.bin/ypwhich/ypwhich.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/ypwhich/ypwhich.c b/usr.bin/ypwhich/ypwhich.c
index 96d555c69d8..39168b0e1f6 100644
--- a/usr.bin/ypwhich/ypwhich.c
+++ b/usr.bin/ypwhich/ypwhich.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ypwhich.c,v 1.15 2003/06/02 04:00:17 deraadt Exp $ */
+/* $OpenBSD: ypwhich.c,v 1.16 2003/07/06 23:26:18 deraadt Exp $ */
/* $NetBSD: ypwhich.c,v 1.6 1996/05/13 02:43:48 thorpej Exp $ */
/*
@@ -28,7 +28,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$Id: ypwhich.c,v 1.15 2003/06/02 04:00:17 deraadt Exp $";
+static char rcsid[] = "$Id: ypwhich.c,v 1.16 2003/07/06 23:26:18 deraadt Exp $";
#endif
#include <sys/param.h>
@@ -66,7 +66,9 @@ struct ypalias {
{ "ethers", "ethers.byname" },
};
-void
+int bind_host(char *dom, struct sockaddr_in *sin);
+
+static void
usage(void)
{
fprintf(stderr,