diff --git a/src/game/joystick_ch_flightstick_pro.c b/src/game/joystick_ch_flightstick_pro.c index 070fdeb..db1661c 100644 --- a/src/game/joystick_ch_flightstick_pro.c +++ b/src/game/joystick_ch_flightstick_pro.c @@ -47,7 +47,7 @@ #include "joystick_standard.h" -static void *ch_flightstick_pro_init() +static void *ch_flightstick_pro_init(void) { return NULL; } diff --git a/src/game/joystick_standard.c b/src/game/joystick_standard.c index e60d4ae..9580112 100644 --- a/src/game/joystick_standard.c +++ b/src/game/joystick_standard.c @@ -47,7 +47,7 @@ #include "joystick_standard.h" -static void *joystick_standard_init() +static void *joystick_standard_init(void) { return NULL; } diff --git a/src/game/joystick_sw_pad.c b/src/game/joystick_sw_pad.c index f6dd9f7..eebb22a 100644 --- a/src/game/joystick_sw_pad.c +++ b/src/game/joystick_sw_pad.c @@ -126,7 +126,7 @@ static int sw_parity(uint16_t data) return bits_set & 1; } -static void *sw_init() +static void *sw_init(void) { sw_data *sw = (sw_data *)malloc(sizeof(sw_data)); memset(sw, 0, sizeof(sw_data));