mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-12 18:40:29 +00:00
(svn r21692) -Cleanup: remove unused extern declaration of HashCurrentCompanyPassword(), make it static
This commit is contained in:
parent
13456934b1
commit
8b6a8a8935
@ -1507,8 +1507,6 @@ DEF_CONSOLE_CMD(ConSayClient)
|
||||
return true;
|
||||
}
|
||||
|
||||
extern void HashCurrentCompanyPassword(const char *password);
|
||||
|
||||
DEF_CONSOLE_CMD(ConCompanyPassword)
|
||||
{
|
||||
if (argc == 0) {
|
||||
|
@ -333,7 +333,7 @@ static const char *GenerateCompanyPasswordHash(const char *password)
|
||||
/**
|
||||
* Hash the current company password; used when the server 'company' sets his/her password.
|
||||
*/
|
||||
void HashCurrentCompanyPassword(const char *password)
|
||||
static void HashCurrentCompanyPassword(const char *password)
|
||||
{
|
||||
_password_game_seed = _settings_game.game_creation.generation_seed;
|
||||
strecpy(_password_server_id, _settings_client.network.network_id, lastof(_password_server_id));
|
||||
|
Loading…
Reference in New Issue
Block a user