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
commitdf995a32ed6e65dfe64f6e46cd3819a1e6f2e0e8 (patch)
treeaf44976063392f71dcb2b8e4d2311d79578d0684 /network_gamelist.c
parented99219348977f5600908d6fcdd75f85ee5d73eb (diff)
downloadopenttd-df995a32ed6e65dfe64f6e46cd3819a1e6f2e0e8.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;