diff options
author | J. Alexander Treuman <jat@spatialrift.net> | 2007-06-01 17:44:03 +0000 |
---|---|---|
committer | J. Alexander Treuman <jat@spatialrift.net> | 2007-06-01 17:44:03 +0000 |
commit | 88638f4821842f76062397559614f36b717ffdbb (patch) | |
tree | b4c1b1b16709d000a6e51b1433afd1970e2e7f7e /src/listen.c | |
parent | 485d1f68ddadee5f171ade372700c0e3ee395841 (diff) | |
download | mpd-88638f4821842f76062397559614f36b717ffdbb.tar.gz mpd-88638f4821842f76062397559614f36b717ffdbb.tar.xz mpd-88638f4821842f76062397559614f36b717ffdbb.zip |
Removing the getBoundPort() function and just making boundPort an extern.
git-svn-id: https://svn.musicpd.org/mpd/trunk@6445 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/listen.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/listen.c b/src/listen.c index 323bf430f..9d105e815 100644 --- a/src/listen.c +++ b/src/listen.c @@ -48,7 +48,7 @@ static int *listenSockets; static int numberOfListenSockets; -static int boundPort; +int boundPort; static int establishListen(unsigned int port, struct sockaddr *addrp, socklen_t addrlen) @@ -251,8 +251,3 @@ void getConnections(fd_set * fds) } } } - -int getBoundPort(void) -{ - return boundPort; -} |