stefan pushed a commit to branch master.

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

commit 41e0df46c03b92b39348ef7bb512ee84127e1996
Author: Stefan Schmidt <ste...@osg.samsung.com>
Date:   Thu Nov 26 17:49:55 2015 +0100

    test: 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/bin/test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/test.c b/src/bin/test.c
index 14296a3..ddd1c4e 100644
--- a/src/bin/test.c
+++ b/src/bin/test.c
@@ -268,7 +268,7 @@ void test_win_dialog(void *data, Evas_Object *obj, void 
*event_info);
 void test_box_disable(void *data, Evas_Object *obj, void *event_info);
 void test_layout_disable(void *data, Evas_Object *obj, void *event_info);
 
-void test_colorclass();
+void test_colorclass(void);
 
 Evas_Object *win, *tbx; // TODO: refactoring
 void *tt;

-- 


Reply via email to