diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-08-28 05:31:49 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-08-28 05:31:49 +0200 |
commit | 24915117a284c5536c9c707fc34ec9e7bf331f32 (patch) | |
tree | 2e9dd70792921647e31851667bbee13994dc6408 /libbb/udp_io.c | |
parent | 1285437217a60194186b2c66a0422205b2dedd08 (diff) | |
download | busybox-w32-24915117a284c5536c9c707fc34ec9e7bf331f32.tar.gz busybox-w32-24915117a284c5536c9c707fc34ec9e7bf331f32.tar.bz2 busybox-w32-24915117a284c5536c9c707fc34ec9e7bf331f32.zip |
Fixes for warnings in FreeBSD build
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/udp_io.c')
-rw-r--r-- | libbb/udp_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/udp_io.c b/libbb/udp_io.c index b8fb6755d..7985a9723 100644 --- a/libbb/udp_io.c +++ b/libbb/udp_io.c | |||
@@ -13,7 +13,7 @@ | |||
13 | * We don't check for errors here. Not supported == won't be used | 13 | * We don't check for errors here. Not supported == won't be used |
14 | */ | 14 | */ |
15 | void FAST_FUNC | 15 | void FAST_FUNC |
16 | socket_want_pktinfo(int fd) | 16 | socket_want_pktinfo(int fd UNUSED_PARAM) |
17 | { | 17 | { |
18 | #ifdef IP_PKTINFO | 18 | #ifdef IP_PKTINFO |
19 | setsockopt(fd, IPPROTO_IP, IP_PKTINFO, &const_int_1, sizeof(int)); | 19 | setsockopt(fd, IPPROTO_IP, IP_PKTINFO, &const_int_1, sizeof(int)); |