summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2013-07-03 21:41:35 +0000
committerpjd <pjd@FreeBSD.org>2013-07-03 21:41:35 +0000
commit52ee09ff73267443a51540ba46a21d07f6b50fc7 (patch)
treecf8e3c6155f74526137d0c9a6b0b1fc921a09183 /sbin/dhclient
parent295fb8ce1a43fcd088b63b8b28a6b34191a4faab (diff)
downloadFreeBSD-src-52ee09ff73267443a51540ba46a21d07f6b50fc7.zip
FreeBSD-src-52ee09ff73267443a51540ba46a21d07f6b50fc7.tar.gz
MFp4: @229469:
Garbage-collect dead prototypes. Reviewed by: brooks Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sbin/dhclient')
-rw-r--r--sbin/dhclient/dhcpd.h6
-rw-r--r--sbin/dhclient/packet.c5
2 files changed, 0 insertions, 11 deletions
diff --git a/sbin/dhclient/dhcpd.h b/sbin/dhclient/dhcpd.h
index 0644149..09941df 100644
--- a/sbin/dhclient/dhcpd.h
+++ b/sbin/dhclient/dhcpd.h
@@ -413,12 +413,6 @@ ssize_t decode_hw_header(unsigned char *, int, struct hardware *);
ssize_t decode_udp_ip_header(unsigned char *, int, struct sockaddr_in *,
unsigned char *, int);
-/* ethernet.c */
-void assemble_ethernet_header(struct interface_info *, unsigned char *,
- int *, struct hardware *);
-ssize_t decode_ethernet_header(struct interface_info *, unsigned char *,
- int, struct hardware *);
-
/* clparse.c */
int read_client_conf(void);
void read_client_leases(void);
diff --git a/sbin/dhclient/packet.c b/sbin/dhclient/packet.c
index b7a4f21..39cf16d 100644
--- a/sbin/dhclient/packet.c
+++ b/sbin/dhclient/packet.c
@@ -55,11 +55,6 @@ __FBSDID("$FreeBSD$");
u_int32_t checksum(unsigned char *, unsigned, u_int32_t);
u_int32_t wrapsum(u_int32_t);
-void assemble_ethernet_header(struct interface_info *, unsigned char *,
- int *, struct hardware *);
-ssize_t decode_ethernet_header(struct interface_info *, unsigned char *,
- int bufix, struct hardware *);
-
u_int32_t
checksum(unsigned char *buf, unsigned nbytes, u_int32_t sum)
{
OpenPOWER on IntegriCloud