aboutsummaryrefslogtreecommitdiffstats
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
parent18f59c9c1687dda8e290db4fb92d1357762ec342 (diff)
downloadmpd-89464628c2d00e5a5fd91f5a42299fc90391b8f2.tar.gz
mpd-89464628c2d00e5a5fd91f5a42299fc90391b8f2.tar.xz
mpd-89464628c2d00e5a5fd91f5a42299fc90391b8f2.zip
[CLEANUP] remove unused function
git-svn-id: https://svn.musicpd.org/mpd/trunk@4331 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r--src/listen.c8
-rw-r--r--src/listen.h2
2 files changed, 0 insertions, 10 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;
diff --git a/src/listen.h b/src/listen.h
index ebba38e9e..db8436c9e 100644
--- a/src/listen.h
+++ b/src/listen.h
@@ -30,8 +30,6 @@ void listenOnPort();
void getConnections(fd_set * fds);
-int isAListenSocket(int sock);
-
void closeAllListenSockets();
void freeAllListenSockets();