stefan pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=f129e78b203436aebd9858d62734cc2d0d9e8134

commit f129e78b203436aebd9858d62734cc2d0d9e8134
Author: Stefan Schmidt <ste...@osg.samsung.com>
Date:   Thu Nov 26 17:50:14 2015 +0100

    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.
---
 src/lib/elm_widget.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_widget.h b/src/lib/elm_widget.h
index e553ec5..23ed7a1 100644
--- a/src/lib/elm_widget.h
+++ b/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 */

-- 


Reply via email to