(svn r7076) -Codechange: Prefer includes instead of using extern. Move UpdateNetworkGameWindow

declaration to network.h, and remove stale externs of NetworkPopulateCompanyInfo
pull/155/head
Darkvater 18 years ago
parent 2fccb9f4e0
commit 771df2df51

@ -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);

@ -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

@ -25,7 +25,6 @@
// This file handles all the server-commands
static void NetworkHandleCommandQueue(NetworkClientState* cs);
void NetworkPopulateCompanyInfo(void);
// **********
// Sending functions

@ -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:

Loading…
Cancel
Save