[CLEANUP] remove unused function
git-svn-id: https://svn.musicpd.org/mpd/trunk@4331 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
18f59c9c16
commit
89464628c2
@ -222,14 +222,6 @@ void freeAllListenSockets() {
|
||||
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) {
|
||||
int i;
|
||||
int fd = 0;
|
||||
|
@ -30,8 +30,6 @@ void listenOnPort();
|
||||
|
||||
void getConnections(fd_set * fds);
|
||||
|
||||
int isAListenSocket(int sock);
|
||||
|
||||
void closeAllListenSockets();
|
||||
void freeAllListenSockets();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user