summaryrefslogtreecommitdiff
path: root/src/listen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/listen.c')
-rw-r--r--src/listen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/listen.c b/src/listen.c
index d6bd9558b..8575e2bec 100644
--- a/src/listen.c
+++ b/src/listen.c
@@ -165,7 +165,7 @@ static int establishListen(unsigned int port, ConfigParam * param) {
return sock;
}
-void listenOnPort() {
+void listenOnPort(void) {
int port = DEFAULT_PORT;
ConfigParam * param = getNextConfigParam(CONF_BIND_TO_ADDRESS,NULL);
@@ -204,7 +204,7 @@ void addListenSocketsToFdSet(fd_set * fds, int * fdmax) {
}
}
-void closeAllListenSockets() {
+void closeAllListenSockets(void) {
int i;
DEBUG("closeAllListenSockets called\n");
@@ -216,7 +216,7 @@ void closeAllListenSockets() {
freeAllListenSockets();
}
-void freeAllListenSockets() {
+void freeAllListenSockets(void) {
numberOfListenSockets = 0;
free(listenSockets);
listenSockets = NULL;