diff options
author | pjd <pjd@FreeBSD.org> | 2013-07-03 21:57:24 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2013-07-03 21:57:24 +0000 |
commit | 1bb08cf6ef3fc73abf64cccbfb8383d67b2adedb (patch) | |
tree | 5f6953b39a84aa44b2bff19fbf6545288745d9f2 /sbin/dhclient/dhcpd.h | |
parent | ca2a1d2a81b8f55541ac0c4ccc211bbe649c25ff (diff) | |
download | FreeBSD-src-1bb08cf6ef3fc73abf64cccbfb8383d67b2adedb.zip FreeBSD-src-1bb08cf6ef3fc73abf64cccbfb8383d67b2adedb.tar.gz |
MFp4 @229473:
No caller checks send_packet() return value, so make it void.
Reviewed by: brooks
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sbin/dhclient/dhcpd.h')
-rw-r--r-- | sbin/dhclient/dhcpd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dhclient/dhcpd.h b/sbin/dhclient/dhcpd.h index d642692..1d0898d 100644 --- a/sbin/dhclient/dhcpd.h +++ b/sbin/dhclient/dhcpd.h @@ -300,7 +300,7 @@ struct hash_bucket *new_hash_bucket(void); int if_register_bpf(struct interface_info *); void if_register_send(struct interface_info *); void if_register_receive(struct interface_info *); -ssize_t send_packet(struct interface_info *, struct dhcp_packet *, size_t, +void send_packet(struct interface_info *, struct dhcp_packet *, size_t, struct in_addr, struct in_addr); ssize_t receive_packet(struct interface_info *, unsigned char *, size_t, struct sockaddr_in *, struct hardware *); |