From 49cde32be0034b255a5d8c1534c7075f19375c0d Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 25 Oct 2019 15:26:25 +0200 Subject: [PATCH] sdl_gamepad: fix function signature This is semantically different in C. --- input/sdl_gamepad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/sdl_gamepad.c b/input/sdl_gamepad.c index 23997bfa07..4d658a32bf 100644 --- a/input/sdl_gamepad.c +++ b/input/sdl_gamepad.c @@ -29,7 +29,7 @@ struct gamepad_priv { static Uint32 gamepad_cancel_wakeup; -static void initalize_events() +static void initalize_events(void) { gamepad_cancel_wakeup = SDL_RegisterEvents(1); }