From a0e6a9e1d5b3c06ad59fcdb230010892d358a2e5 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 11 Jun 2020 04:53:20 +0200 Subject: [PATCH] (xinput joypad) Function can be made static --- input/drivers_joypad/xinput_joypad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/drivers_joypad/xinput_joypad.c b/input/drivers_joypad/xinput_joypad.c index 4f10f7cc34..7db0705ba1 100644 --- a/input/drivers_joypad/xinput_joypad.c +++ b/input/drivers_joypad/xinput_joypad.c @@ -171,7 +171,7 @@ static const char* const XBOX_ONE_CONTROLLER_NAMES[4] = "XBOX One Controller (User 4)" }; -const char *xinput_joypad_name(unsigned pad) +static const char *xinput_joypad_name(unsigned pad) { int xuser = pad_index_to_xuser_index(pad); #ifdef HAVE_DINPUT