svn commit: r252612 - head/sbin/dhclient

Pawel Jakub Dawidek pjd at FreeBSD.org
Wed Jul 3 21:41:36 UTC 2013


Author: pjd
Date: Wed Jul  3 21:41:35 2013
New Revision: 252612
URL: http://svnweb.freebsd.org/changeset/base/252612

Log:
  MFp4:	@229469:
  
  Garbage-collect dead prototypes.
  
  Reviewed by:	brooks
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sbin/dhclient/dhcpd.h
  head/sbin/dhclient/packet.c

Modified: head/sbin/dhclient/dhcpd.h
==============================================================================
--- head/sbin/dhclient/dhcpd.h	Wed Jul  3 21:31:13 2013	(r252611)
+++ head/sbin/dhclient/dhcpd.h	Wed Jul  3 21:41:35 2013	(r252612)
@@ -413,12 +413,6 @@ ssize_t decode_hw_header(unsigned char *
 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);

Modified: head/sbin/dhclient/packet.c
==============================================================================
--- head/sbin/dhclient/packet.c	Wed Jul  3 21:31:13 2013	(r252611)
+++ head/sbin/dhclient/packet.c	Wed Jul  3 21:41:35 2013	(r252612)
@@ -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)
 {


More information about the svn-src-all mailing list