From 48b4421173725c8d2eb9c36342a1a70937c16de0 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Fri, 29 Apr 2011 11:03:54 +0200 Subject: Remove unused code. --- socket.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'socket.h') diff --git a/socket.h b/socket.h index 81b56c06..0c4ac001 100644 --- a/socket.h +++ b/socket.h @@ -20,12 +20,6 @@ struct addrinfo; /** Create a new client socket; returns -1 on error */ int SockOpen(const char *host, const char *service, const char *plugin, struct addrinfo **); -/** Returns 1 if socket \a fd is OK, 0 if it isn't select()able - * on - probably because it's been closed. You should - * always check this function before passing stuff to the - * select()-based waiter, as otherwise it may loop. - */ -int SockCheckOpen(int fd); /** Get a string terminated by an '\n' (matches interface of fgets). -- cgit v1.2.3