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.h | |
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 'src/listen.h')
-rw-r--r-- | src/listen.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/listen.h b/src/listen.h index 638214003..d7c2d3639 100644 --- a/src/listen.h +++ b/src/listen.h @@ -26,6 +26,8 @@ #include <unistd.h> #include <sys/select.h> +extern int boundPort; + void listenOnPort(void); void getConnections(fd_set * fds); @@ -36,6 +38,4 @@ void freeAllListenSockets(void); /* fdmax should be initialized to something */ void addListenSocketsToFdSet(fd_set * fds, int *fdmax); -int getBoundPort(void); - #endif |