summaryrefslogtreecommitdiff
path: root/src/network/core/address.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-04-08 00:03:05 +0000
committerrubidium <rubidium@openttd.org>2009-04-08 00:03:05 +0000
commitc0f82142185d866011b78f67f488089875ed99f9 (patch)
tree39cbf7923f2120133ca941dcff31b3854e2f3366 /src/network/core/address.h
parent2a6e9288fd9e238c2f0b68243fced9e3cf794100 (diff)
downloadopenttd-c0f82142185d866011b78f67f488089875ed99f9.tar.xz
(svn r15972) -Codechange: remove unneeded parameter
Diffstat (limited to 'src/network/core/address.h')
-rw-r--r--src/network/core/address.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/network/core/address.h b/src/network/core/address.h
index 4d263b3c0..4c0abdf63 100644
--- a/src/network/core/address.h
+++ b/src/network/core/address.h
@@ -217,12 +217,11 @@ public:
/**
* Make the given socket listen.
- * @param family the type of 'protocol' (IPv4, IPv6)
* @param socktype the type of socket (TCP, UDP, etc)
* @param sockets the list of sockets to add the sockets to
* @return the socket (if sockets != NULL)
*/
- SOCKET Listen(int family, int socktype, SocketList *sockets = NULL);
+ SOCKET Listen(int socktype, SocketList *sockets = NULL);
};
#endif /* ENABLE_NETWORK */