summaryrefslogtreecommitdiff
path: root/libbb/udp_io.c
diff options
context:
space:
mode:
authorDenys Vlasenko2011-08-28 05:31:49 +0200
committerDenys Vlasenko2011-08-28 05:31:49 +0200
commit24915117a284c5536c9c707fc34ec9e7bf331f32 (patch)
tree2e9dd70792921647e31851667bbee13994dc6408 /libbb/udp_io.c
parent1285437217a60194186b2c66a0422205b2dedd08 (diff)
downloadbusybox-24915117a284c5536c9c707fc34ec9e7bf331f32.zip
busybox-24915117a284c5536c9c707fc34ec9e7bf331f32.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/udp_io.c b/libbb/udp_io.c
index b8fb675..7985a97 100644
--- a/libbb/udp_io.c
+++ b/libbb/udp_io.c
@@ -13,7 +13,7 @@
* We don't check for errors here. Not supported == won't be used
*/
void FAST_FUNC
-socket_want_pktinfo(int fd)
+socket_want_pktinfo(int fd UNUSED_PARAM)
{
#ifdef IP_PKTINFO
setsockopt(fd, IPPROTO_IP, IP_PKTINFO, &const_int_1, sizeof(int));