diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/udp_io.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libbb/udp_io.c b/libbb/udp_io.c index 2f02a138b..e968ecb66 100644 --- a/libbb/udp_io.c +++ b/libbb/udp_io.c | |||
@@ -25,10 +25,10 @@ socket_want_pktinfo(int fd) | |||
25 | } | 25 | } |
26 | 26 | ||
27 | 27 | ||
28 | #ifdef UNUSED | ||
29 | ssize_t | 28 | ssize_t |
30 | send_to_from(int fd, void *buf, size_t len, int flags, | 29 | send_to_from(int fd, void *buf, size_t len, int flags, |
31 | const struct sockaddr *from, const struct sockaddr *to, | 30 | const struct sockaddr *to, |
31 | const struct sockaddr *from, | ||
32 | socklen_t tolen) | 32 | socklen_t tolen) |
33 | { | 33 | { |
34 | #ifndef IP_PKTINFO | 34 | #ifndef IP_PKTINFO |
@@ -92,7 +92,6 @@ send_to_from(int fd, void *buf, size_t len, int flags, | |||
92 | return sendmsg(fd, &msg, flags); | 92 | return sendmsg(fd, &msg, flags); |
93 | #endif | 93 | #endif |
94 | } | 94 | } |
95 | #endif /* UNUSED */ | ||
96 | 95 | ||
97 | /* NB: this will never set port# in 'to'! | 96 | /* NB: this will never set port# in 'to'! |
98 | * _Only_ IP/IPv6 address part of 'to' is _maybe_ modified. | 97 | * _Only_ IP/IPv6 address part of 'to' is _maybe_ modified. |