summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcp/common/icmp.c
diff options
context:
space:
mode:
authorEric Jackson <ericj@cvs.openbsd.org>2001-01-03 16:04:41 +0000
committerEric Jackson <ericj@cvs.openbsd.org>2001-01-03 16:04:41 +0000
commit994cdb8d3b777662b6dba5a039c1d9a19e82a1cb (patch)
treec62445a704a87c84eeb6224e13a2089a0cfcc923 /usr.sbin/dhcp/common/icmp.c
parent1fc55dfbde4a8de5d2139db13d4cef0f0689c4d3 (diff)
-Wall cleanup.
roll a function for writing out pidfile's instead of rolling it for each program. be careful with a few more buffers
Diffstat (limited to 'usr.sbin/dhcp/common/icmp.c')
-rw-r--r--usr.sbin/dhcp/common/icmp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/dhcp/common/icmp.c b/usr.sbin/dhcp/common/icmp.c
index 157c2ed3ca8..d32553a02a3 100644
--- a/usr.sbin/dhcp/common/icmp.c
+++ b/usr.sbin/dhcp/common/icmp.c
@@ -43,7 +43,7 @@
#ifndef lint
static char copyright[] =
-"$Id: icmp.c,v 1.1 1998/08/18 03:43:26 deraadt Exp $ Copyright (c) 1997 The Internet Software Consortium. All rights reserved.\n";
+"$Id: icmp.c,v 1.2 2001/01/03 16:04:38 ericj Exp $ Copyright (c) 1997 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -61,8 +61,6 @@ void icmp_startup (routep, handler)
{
struct protoent *proto;
int protocol = 1;
- struct sockaddr_in from;
- int fd;
int state;
/* Only initialize icmp once. */