From dbe9f7c2a08fe1ff27d8707176bcb6e88201c63b Mon Sep 17 00:00:00 2001 From: Misa Date: Mon, 20 Sep 2021 13:48:49 -0700 Subject: [PATCH] Declare `emscriptenloop` as `static` It's not going to link with anything in a different translation unit, so just to make sure, we declare it as static. --- desktop_version/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop_version/src/main.cpp b/desktop_version/src/main.cpp index fc4ef3f2..7b2b75a8 100644 --- a/desktop_version/src/main.cpp +++ b/desktop_version/src/main.cpp @@ -355,7 +355,7 @@ static void inline deltaloop(void); static void cleanup(void); #ifdef __EMSCRIPTEN__ -void emscriptenloop(void) +static void emscriptenloop(void) { timePrev = time_; time_ = SDL_GetTicks();