From 319698d1a46c91961284db06516acd7f3756dd59 Mon Sep 17 00:00:00 2001 From: Malkierian Date: Mon, 12 Jan 2026 10:40:53 -0700 Subject: [PATCH] Add extern "C" to extern variables in `ingame_menu.h`. --- src/game/ingame_menu.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/game/ingame_menu.h b/src/game/ingame_menu.h index 01845acd..588abcce 100644 --- a/src/game/ingame_menu.h +++ b/src/game/ingame_menu.h @@ -31,9 +31,17 @@ enum MenuMode { MENU_MODE_UNUSED_3 }; +#ifdef __cplusplus +extern "C" { +#endif + extern s8 gDialogCourseActNum; extern s8 gHudFlash; +#ifdef __cplusplus +} +#endif + struct DialogEntry { /*0x00*/ u32 unused; /*0x04*/ s8 linesPerBox;