Displaying 1 result from an estimated 1 matches for "fbc7711".
Did you mean:
f4c77191
2011 Aug 29
0
[PATCH] include: [sys/socket.h] Fix bind and connect attributes
...type 'const struct sockaddr *'
Signed-off-by: maximilian attems <max at stro.at>
---
usr/include/sys/socket.h | 4 ++--
usr/klibc/SOCKETCALLS.def | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/usr/include/sys/socket.h b/usr/include/sys/socket.h
index fbc7711..38cfef6 100644
--- a/usr/include/sys/socket.h
+++ b/usr/include/sys/socket.h
@@ -244,8 +244,8 @@ struct ucred {
__extern int socket(int, int, int);
-__extern int bind(int, struct sockaddr *, int);
-__extern int connect(int, struct sockaddr *, socklen_t);
+__extern int bind(int, const struct s...