From 3751d83390ef19855943e0b24c0d079ca2175952 Mon Sep 17 00:00:00 2001 From: Lassi Kortela Date: Sat, 10 Aug 2019 00:16:30 +0300 Subject: [PATCH] Remove unneeded prototypes using sockaddr_in --- c/socket.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/c/socket.h b/c/socket.h index 6477ea3..58631d5 100644 --- a/c/socket.h +++ b/c/socket.h @@ -16,8 +16,6 @@ int open_tcp_port(short portno); int open_any_tcp_port(short *portno); int open_any_udp_port(short *portno); int connect_to_host(char *hostname, short portno); -int connect_to_addr(struct sockaddr_in *host_addr); int sendall(int sockfd, char *buffer, int bufLen, int flags); int readall(int sockfd, char *buffer, int bufLen, int flags); -int addr_eq(struct sockaddr_in *a, struct sockaddr_in *b); int socket_ready(int sock);