network_server.c
changeset 2817 58dcead3f545
parent 2676 2ba71e034d97
child 2879 d270cb37c0ec
--- a/network_server.c	Thu Jan 05 12:00:38 2006 +0000
+++ b/network_server.c	Thu Jan 05 12:40:50 2006 +0000
@@ -24,9 +24,10 @@
 
 // This file handles all the server-commands
 
-void NetworkHandleCommandQueue(NetworkClientState *cs);
+static void NetworkHandleCommandQueue(NetworkClientState* cs);
+static void NetworkSendPatchSettings(NetworkClientState* cs);
+
 void NetworkPopulateCompanyInfo(void);
-void NetworkSendPatchSettings(NetworkClientState *cs);
 
 // Is the network enabled?
 
@@ -1190,7 +1191,7 @@
 // This is a TEMPORARY solution to get the patch-settings
 //  to the client. When the patch-settings are saved in the savegame
 //  this should be removed!!
-void NetworkSendPatchSettings(NetworkClientState *cs)
+static void NetworkSendPatchSettings(NetworkClientState* cs)
 {
 	const SettingDesc *item;
 	Packet *p = NetworkSend_Init(PACKET_SERVER_MAP);
@@ -1484,7 +1485,8 @@
 }
 
 // Handle the local command-queue
-void NetworkHandleCommandQueue(NetworkClientState *cs) {
+static void NetworkHandleCommandQueue(NetworkClientState* cs)
+{
 	CommandPacket *cp;
 
 	while ( (cp = cs->command_queue) != NULL) {