summaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h
index ee1ef51..df8b0ec 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -476,10 +476,12 @@ struct hostent *xgethostbyname(const char *name);
void socket_want_pktinfo(int fd);
ssize_t send_to_from(int fd, void *buf, size_t len, int flags,
- const struct sockaddr *from, const struct sockaddr *to,
+ const struct sockaddr *to,
+ const struct sockaddr *from,
socklen_t tolen);
ssize_t recv_from_to(int fd, void *buf, size_t len, int flags,
- struct sockaddr *from, struct sockaddr *to,
+ struct sockaddr *from,
+ struct sockaddr *to,
socklen_t sa_size);
char *xstrdup(const char *s);