From 7d355098320a0cbc54001a07e44cf9f7e7a3636c Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 12 Jan 2019 13:26:29 -0600 Subject: Merge xconnect/xbind. --- lib/lib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/lib.h') diff --git a/lib/lib.h b/lib/lib.h index bc54a384..3e6838ea 100644 --- a/lib/lib.h +++ b/lib/lib.h @@ -305,8 +305,8 @@ int xsocket(int domain, int type, int protocol); void xsetsockopt(int fd, int level, int opt, void *val, socklen_t len); struct addrinfo *xgetaddrinfo(char *host, char *port, int family, int socktype, int protocol, int flags); -int xconnect(struct addrinfo *ai_arg); -int xbind(struct addrinfo *ai_arg); +int xconnect(struct addrinfo *ai); +int xbind(struct addrinfo *ai); int xpoll(struct pollfd *fds, int nfds, int timeout); int pollinate(int in1, int in2, int out1, int out2, int timeout, int shutdown_timeout); char *ntop(struct sockaddr *sa); -- cgit v1.2.3