Commit 89464628 authored by Avuton Olrich's avatar Avuton Olrich

[CLEANUP] remove unused function

git-svn-id: https://svn.musicpd.org/mpd/trunk@4331 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 18f59c9c
...@@ -222,14 +222,6 @@ void freeAllListenSockets() { ...@@ -222,14 +222,6 @@ void freeAllListenSockets() {
listenSockets = NULL; listenSockets = NULL;
} }
int isAListenSocket(int socket) {
int i;
for(i=0; listenSockets[i] != socket && i<numberOfListenSockets; i++);
return (i < numberOfListenSockets);
}
void getConnections(fd_set * fds) { void getConnections(fd_set * fds) {
int i; int i;
int fd = 0; int fd = 0;
......
...@@ -30,8 +30,6 @@ void listenOnPort(); ...@@ -30,8 +30,6 @@ void listenOnPort();
void getConnections(fd_set * fds); void getConnections(fd_set * fds);
int isAListenSocket(int sock);
void closeAllListenSockets(); void closeAllListenSockets();
void freeAllListenSockets(); void freeAllListenSockets();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment