From 7e9fd58541ecb47c252415fe1feb0a741a1f6caa Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Wed, 22 Mar 2023 19:17:46 +0100 Subject: [PATCH] changed function to static --- src/game.c | 2 +- src/game.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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); -- 2.34.1