summaryrefslogtreecommitdiff
path: root/network_gamelist.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-19 10:17:26 +0000
committertruelight <truelight@openttd.org>2004-12-19 10:17:26 +0000
commit0e19f74c16e9d663b6dd61f96828857c0e6a29da (patch)
treeaf44976063392f71dcb2b8e4d2311d79578d0684 /network_gamelist.c
parentbb5dca016ddbd7d21373c052cefa96f894e1e2fc (diff)
downloadopenttd-0e19f74c16e9d663b6dd61f96828857c0e6a29da.tar.xz
(svn r1168) -Cleanup: [Network] Cleaned the network code a bit. Added 'const'
and 'void' where needed, prefixed all functions, typedefs and global vars with 'Network' and organized all externals nicely.
Diffstat (limited to 'network_gamelist.c')
-rw-r--r--network_gamelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/network_gamelist.c b/network_gamelist.c
index 6aa4cc90e..63856a9bf 100644
--- a/network_gamelist.c
+++ b/network_gamelist.c
@@ -65,7 +65,7 @@ NetworkGameList *NetworkGameListAddItem(uint32 ip, uint16 port)
return item;
}
-void NetworkGameListAddQueriedItem(NetworkGameInfo *info, bool server_online)
+void NetworkGameListAddQueriedItem(const NetworkGameInfo *info, bool server_online)
{
// We queried a server and now we are going to add it to the list
NetworkGameList *item;