(svn r7076) -Codechange: Prefer includes instead of using extern. Move UpdateNetworkGameWindow
authorDarkvater
Mon, 06 Nov 2006 00:12:55 +0000
changeset 5034 f00ac4873c34
parent 5033 203f070c9ba1
child 5035 e5680cce4e67
(svn r7076) -Codechange: Prefer includes instead of using extern. Move UpdateNetworkGameWindow
declaration to network.h, and remove stale externs of NetworkPopulateCompanyInfo
network.h
network_gamelist.c
network_server.c
network_udp.c
--- a/network.h	Mon Nov 06 00:10:47 2006 +0000
+++ b/network.h	Mon Nov 06 00:12:55 2006 +0000
@@ -221,6 +221,7 @@
 void NetworkRebuildHostList(void);
 bool NetworkChangeCompanyPassword(byte argc, char *argv[]);
 void NetworkPopulateCompanyInfo(void);
+void UpdateNetworkGameWindow(bool unselect);
 void CheckMinPlayers(void);
 
 void NetworkStartUp(void);
--- a/network_gamelist.c	Mon Nov 06 00:10:47 2006 +0000
+++ b/network_gamelist.c	Mon Nov 06 00:12:55 2006 +0000
@@ -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
--- a/network_server.c	Mon Nov 06 00:10:47 2006 +0000
+++ b/network_server.c	Mon Nov 06 00:12:55 2006 +0000
@@ -25,7 +25,6 @@
 // This file handles all the server-commands
 
 static void NetworkHandleCommandQueue(NetworkClientState* cs);
-void NetworkPopulateCompanyInfo(void);
 
 // **********
 // Sending functions
--- a/network_udp.c	Mon Nov 06 00:10:47 2006 +0000
+++ b/network_udp.c	Mon Nov 06 00:12:55 2006 +0000
@@ -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: