From d327ffb0f44e4b5ccff615a362143f50053bc062 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Mon, 6 Nov 2006 00:12:55 +0000 Subject: (svn r7076) -Codechange: Prefer includes instead of using extern. Move UpdateNetworkGameWindow declaration to network.h, and remove stale externs of NetworkPopulateCompanyInfo --- network.h | 1 + network_gamelist.c | 2 -- network_server.c | 1 - network_udp.c | 3 --- 4 files changed, 1 insertion(+), 6 deletions(-) diff --git a/network.h b/network.h index 61e7dab84..1b3416a51 100644 --- a/network.h +++ b/network.h @@ -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: -- cgit v1.2.3-70-g09d2