mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-09-01 19:09:09 +00:00
(svn r21692) -Cleanup: remove unused extern declaration of HashCurrentCompanyPassword(), make it static
This commit is contained in:
@@ -1507,8 +1507,6 @@ DEF_CONSOLE_CMD(ConSayClient)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern void HashCurrentCompanyPassword(const char *password);
|
|
||||||
|
|
||||||
DEF_CONSOLE_CMD(ConCompanyPassword)
|
DEF_CONSOLE_CMD(ConCompanyPassword)
|
||||||
{
|
{
|
||||||
if (argc == 0) {
|
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.
|
* 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;
|
_password_game_seed = _settings_game.game_creation.generation_seed;
|
||||||
strecpy(_password_server_id, _settings_client.network.network_id, lastof(_password_server_id));
|
strecpy(_password_server_id, _settings_client.network.network_id, lastof(_password_server_id));
|
||||||
|
Reference in New Issue
Block a user