From: Holger Schemel Date: Wed, 22 Mar 2023 18:17:46 +0000 (+0100) Subject: changed function to static X-Git-Tag: 4.3.5.3~30 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=7e9fd58541ecb47c252415fe1feb0a741a1f6caa;p=rocksndiamonds.git changed function to static --- diff --git a/src/game.c b/src/game.c index b7f8736a..64770297 100644 --- a/src/game.c +++ b/src/game.c @@ -15632,7 +15632,7 @@ void RequestQuitGame(boolean escape_key_pressed) "Do you really want to quit the game?"); } -void RequestRestartGame(char *message) +static void RequestRestartGame(char *message) { boolean has_started_game = hasStartedNetworkGame(); int request_mode = (has_started_game ? REQ_ASK : REQ_CONFIRM); diff --git a/src/game.h b/src/game.h index 6ecbefc4..b73d5daf 100644 --- a/src/game.h +++ b/src/game.h @@ -452,7 +452,6 @@ void RaiseScoreElement(int); void RequestQuitGameExt(boolean, boolean, char *); void RequestQuitGame(boolean); -void RequestRestartGame(char *); boolean CheckRestartGame(void); boolean checkGameSolved(void);