summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/bootp_subr.c
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>1998-12-07 21:58:50 +0000
committerarchie <archie@FreeBSD.org>1998-12-07 21:58:50 +0000
commit60d13c7a9dd18f720483338ebef03609492ca98c (patch)
tree5709d8cdab99e3c1cb9ae7c2117627c1031fdf39 /sys/nfsclient/bootp_subr.c
parent2f8d013d96c256b3a48e227aab238e53eb9304cf (diff)
downloadFreeBSD-src-60d13c7a9dd18f720483338ebef03609492ca98c.zip
FreeBSD-src-60d13c7a9dd18f720483338ebef03609492ca98c.tar.gz
The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static
and local variables, goto labels, and functions declared but not defined.
Diffstat (limited to 'sys/nfsclient/bootp_subr.c')
-rw-r--r--sys/nfsclient/bootp_subr.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/nfsclient/bootp_subr.c b/sys/nfsclient/bootp_subr.c
index ca64638..1efca25 100644
--- a/sys/nfsclient/bootp_subr.c
+++ b/sys/nfsclient/bootp_subr.c
@@ -1,4 +1,4 @@
-/* $Id: bootp_subr.c,v 1.16 1998/12/03 20:28:23 dillon Exp $ */
+/* $Id: bootp_subr.c,v 1.17 1998/12/04 22:54:54 archie Exp $ */
/*
* Copyright (c) 1995 Gordon Ross, Adam Glass
@@ -262,13 +262,11 @@ bootpc_call(call,reply,procp)
{
struct socket *so;
struct sockaddr_in *sin, sa;
- struct mbuf *m;
struct uio auio;
struct sockopt sopt;
struct iovec aio;
struct timeval tv;
int error, on, len, rcvflg, secs, timo;
- u_int tport;
/*
* Create socket and set its recieve timeout.
@@ -730,7 +728,7 @@ bootpc_init(void)
struct socket *so;
int error;
int code,ncode,len;
- int i,j;
+ int j;
char *p;
unsigned int ip;
@@ -744,7 +742,6 @@ bootpc_init(void)
char lookup_path[24];
#define EALEN 6
- unsigned char ea[EALEN];
struct ifaddr *ifa;
struct sockaddr_dl *sdl = NULL;
char *delim;
OpenPOWER on IntegriCloud