From 1e7af5fa9f6fc0e773ae50fa878b18a33ef58bea Mon Sep 17 00:00:00 2001 From: Andre Date: Mon, 6 Mar 2006 21:51:19 +0100 Subject: [PATCH] net.h: use proper type for the addrlen parameter of para_accept() also in prototype An earlier patch changed that parameter from size_t to socklen_t but missed to update also the corresponding prototype in net.h. Thanks to Steffen Klassert for pointing this out. --- net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net.h b/net.h index ebb3983a..c2f32c78 100644 --- a/net.h +++ b/net.h @@ -37,7 +37,7 @@ int send_bin_buffer(int, const char *, size_t); int send_va_buffer(int, char *, ...); int recv_buffer(int, char *, ssize_t); int recv_bin_buffer(int, char *, ssize_t); -int para_accept(int, void *addr, size_t size); +int para_accept(int, void *addr, socklen_t size); int create_pf_socket(const char *, struct sockaddr_un *, int mod); int init_unix_addr(struct sockaddr_un *, const char *); int recv_cred_buffer(int, char *, size_t, struct ucred *); -- 2.39.5