summaryrefslogtreecommitdiff
path: root/src/listen.c
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2006-07-14 19:30:47 +0000
committerAvuton Olrich <avuton@gmail.com>2006-07-14 19:30:47 +0000
commit89464628c2d00e5a5fd91f5a42299fc90391b8f2 (patch)
treefb37c17c6140c1df48d20ff2bb87daa3a1044263 /src/listen.c
parent18f59c9c1687dda8e290db4fb92d1357762ec342 (diff)
[CLEANUP] remove unused function
git-svn-id: https://svn.musicpd.org/mpd/trunk@4331 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/listen.c')
-rw-r--r--src/listen.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/listen.c b/src/listen.c
index 56b8749d6..612c5c1b1 100644
--- a/src/listen.c
+++ b/src/listen.c
@@ -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;