Skip to content

Commit ce12d18

Browse files
committed
avoid warnings
1 parent 76186a4 commit ce12d18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/entry.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ struct soluna_ime_rect_state {
108108
static struct soluna_ime_rect_state g_soluna_ime_rect = { 0.0f, 0.0f, 0.0f, 0.0f, false };
109109
#endif
110110

111-
static void soluna_emit_char(uint32_t codepoint, uint32_t modifiers, bool repeat);
111+
static inline void soluna_emit_char(uint32_t codepoint, uint32_t modifiers, bool repeat);
112112

113113
#if defined(__APPLE__)
114114
static bool g_soluna_macos_composition = false;
@@ -653,7 +653,7 @@ soluna_macos_install_ime(void) {
653653
}
654654
#endif
655655

656-
static void
656+
static inline void
657657
soluna_emit_char(uint32_t codepoint, uint32_t modifiers, bool repeat) {
658658
sapp_event ev;
659659
memset(&ev, 0, sizeof(ev));

0 commit comments

Comments
 (0)