diff --git a/src/lib/ecore_input/Ecore_Input.h b/src/lib/ecore_input/Ecore_Input.h index 8139f563d7..6853e764b5 100644 --- a/src/lib/ecore_input/Ecore_Input.h +++ b/src/lib/ecore_input/Ecore_Input.h @@ -489,7 +489,7 @@ extern "C" { * @return name of joystick. * @since 1.20 */ - EAPI Eina_Slstr *ecore_input_joystick_name_get(int index); + EAPI const char *ecore_input_joystick_name_get(int index); #ifdef __cplusplus } #endif diff --git a/src/lib/ecore_input/ecore_input_joystick.c b/src/lib/ecore_input/ecore_input_joystick.c index 58fbedef67..28f527bc89 100644 --- a/src/lib/ecore_input/ecore_input_joystick.c +++ b/src/lib/ecore_input/ecore_input_joystick.c @@ -622,7 +622,7 @@ ecore_input_joystick_event_axis_deadzone_get(void) return _event_axis_deadzone; } -EAPI Eina_Slstr * +EAPI const char * ecore_input_joystick_name_get(int index) { #if defined(HAVE_EEZE) && defined(JSIOCGNAME)