commit de520c468a33cf9b1913f04dce176fe689c8a95e
Author: Turo Lamminen <turol@iki.fi>
AuthorDate: Thu Sep 8 13:54:06 2022 +0300
Commit: Turo Lamminen <turol@iki.fi>
CommitDate: Wed Sep 28 12:35:52 2022 +0300
video: Move I_HandleKeyboardEvent and I_HandleMouseEvent prototypes to i_input.h
---
src/i_input.h | 4 ++++
src/i_video.c | 2 --
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/i_input.h b/src/i_input.h
index 280c8689..0dda76d0 100644
--- a/src/i_input.h
+++ b/src/i_input.h
@@ -42,4 +42,8 @@ void I_StartTextInput(int x1, int y1, int x2, int y2);
// (if one is used).
void I_StopTextInput(void);
+void I_HandleKeyboardEvent(SDL_Event *sdlevent);
+void I_HandleMouseEvent(SDL_Event *sdlevent);
+
+
#endif
diff --git a/src/i_video.c b/src/i_video.c
index f1c67e67..581b0181 100644
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -415,8 +415,6 @@ static void I_ToggleFullScreen(void)
void I_GetEvent(void)
{
- extern void I_HandleKeyboardEvent(SDL_Event *sdlevent);
- extern void I_HandleMouseEvent(SDL_Event *sdlevent);
SDL_Event sdlevent;
SDL_PumpEvents();