diff options
author | Darkvater <darkvater@openttd.org> | 2006-11-06 00:12:55 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-11-06 00:12:55 +0000 |
commit | d327ffb0f44e4b5ccff615a362143f50053bc062 (patch) | |
tree | 0de0e5c80746a9843fe4a4850974d15a5c647405 | |
parent | c9a19c29fee7a0ab240bba36401ea428eab254f2 (diff) | |
download | openttd-d327ffb0f44e4b5ccff615a362143f50053bc062.tar.xz |
(svn r7076) -Codechange: Prefer includes instead of using extern. Move UpdateNetworkGameWindow
declaration to network.h, and remove stale externs of NetworkPopulateCompanyInfo
-rw-r--r-- | network.h | 1 | ||||
-rw-r--r-- | network_gamelist.c | 2 | ||||
-rw-r--r-- | network_server.c | 1 | ||||
-rw-r--r-- | network_udp.c | 3 |
4 files changed, 1 insertions, 6 deletions
@@ -221,6 +221,7 @@ void NetworkAddServer(const char *b); void NetworkRebuildHostList(void); bool NetworkChangeCompanyPassword(byte argc, char *argv[]); void NetworkPopulateCompanyInfo(void); +void UpdateNetworkGameWindow(bool unselect); void CheckMinPlayers(void); void NetworkStartUp(void); diff --git a/network_gamelist.c b/network_gamelist.c index a49a0159d..57f24b281 100644 --- a/network_gamelist.c +++ b/network_gamelist.c @@ -9,8 +9,6 @@ // This file handles the GameList // Also, it handles the request to a server for data about the server -extern void UpdateNetworkGameWindow(bool unselect); - /** Add a new item to the linked gamelist. If the IP and Port match * return the existing item instead of adding it again * @param ip the IP-address (inet_addr) of the to-be added item diff --git a/network_server.c b/network_server.c index af78b95ac..94e50286f 100644 --- a/network_server.c +++ b/network_server.c @@ -25,7 +25,6 @@ // This file handles all the server-commands static void NetworkHandleCommandQueue(NetworkClientState* cs); -void NetworkPopulateCompanyInfo(void); // ********** // Sending functions diff --git a/network_udp.c b/network_udp.c index 925d01209..ca66dfd01 100644 --- a/network_udp.c +++ b/network_udp.c @@ -12,9 +12,6 @@ #include "network_udp.h" #include "variables.h" -extern void UpdateNetworkGameWindow(bool unselect); -extern void NetworkPopulateCompanyInfo(void); - // // This file handles all the LAN-stuff // Stuff like: |