summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ypbind
diff options
context:
space:
mode:
authorpvalchev <pvalchev@openbsd.org>2001-07-27 20:34:36 +0000
committerpvalchev <pvalchev@openbsd.org>2001-07-27 20:34:36 +0000
commit31cea0077b69613f0e2f81caf39890e425a67c7d (patch)
treeb763a2e78127ce636856ff2027ecaf9fc58384b3 /usr.sbin/ypbind
parentBack out changes adding 'make depend' to recommended build process. (diff)
downloadwireguard-openbsd-31cea0077b69613f0e2f81caf39890e425a67c7d.tar.xz
wireguard-openbsd-31cea0077b69613f0e2f81caf39890e425a67c7d.zip
Wall cleanup
Diffstat (limited to 'usr.sbin/ypbind')
-rw-r--r--usr.sbin/ypbind/ypbind.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/ypbind/ypbind.c b/usr.sbin/ypbind/ypbind.c
index 8b533ee0fea..5fdd11baa32 100644
--- a/usr.sbin/ypbind/ypbind.c
+++ b/usr.sbin/ypbind/ypbind.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ypbind.c,v 1.38 2000/04/11 11:52:55 itojun Exp $ */
+/* $OpenBSD: ypbind.c,v 1.39 2001/07/27 20:34:36 pvalchev Exp $ */
/*
* Copyright (c) 1997,1998 Theo de Raadt <deraadt@OpenBSD.org>
@@ -35,7 +35,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$OpenBSD: ypbind.c,v 1.38 2000/04/11 11:52:55 itojun Exp $";
+static char rcsid[] = "$OpenBSD: ypbind.c,v 1.39 2001/07/27 20:34:36 pvalchev Exp $";
#endif
#include <sys/param.h>
@@ -751,7 +751,6 @@ broadcast(ypdb, buf, outlen)
int outlen;
{
struct ifaddrs *ifap, *ifa;
- int i, sock, len, inlen = 8192;
struct sockaddr_in bindsin;
struct in_addr in;