From bc05cd81bd98c55b373fafad77a2e914f020b763 Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Thu, 26 Nov 2015 17:50:14 +0100 Subject: [PATCH] elm_widget: correct declaration of function with no parameters We have to use void in a function declaration if we want no function parameters. Using just empty parenthesis means the function takes an unspecified number of parameters. We had it correct for most declarations and this series fixes it for the rest. Thanks for the sparse semantic parser for pointing this out. --- legacy/elementary/src/lib/elm_widget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/elementary/src/lib/elm_widget.h b/legacy/elementary/src/lib/elm_widget.h index e553ec5f53..23ed7a10c0 100644 --- a/legacy/elementary/src/lib/elm_widget.h +++ b/legacy/elementary/src/lib/elm_widget.h @@ -518,7 +518,7 @@ struct _Elm_Action Eina_Bool (*func)(Evas_Object *obj, const char *params); }; -void _elm_access_shutdown(); +void _elm_access_shutdown(void); void _elm_access_mouse_event_enabled_set(Eina_Bool enabled); /* if auto_higlight is EINA_TRUE, it does not steal a focus, it just moves a highlight */