devilhorns pushed a commit to branch master.

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

commit 110aa7768289d7a9cc4ddd7be0298c98451d3663
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Mon Nov 30 09:45:12 2015 -0500

    elementary: Fix test_colorclass function
    
    The test_colorclass function (and prototype) were incorrect in that
    they did not have the proper function parameters defined. This lead to
    a warning when building elementary tests.
    
    @fix
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/bin/test.c            | 2 +-
 src/bin/test_colorclass.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/test.c b/src/bin/test.c
index ddd1c4e..c1539d5 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);
+void test_colorclass(void *data, Evas_Object *obj, void *event_info);
 
 Evas_Object *win, *tbx; // TODO: refactoring
 void *tt;
diff --git a/src/bin/test_colorclass.c b/src/bin/test_colorclass.c
index d110d23..8764065 100644
--- a/src/bin/test_colorclass.c
+++ b/src/bin/test_colorclass.c
@@ -5,7 +5,7 @@
 
 
 void
-test_colorclass()
+test_colorclass(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void 
*event_info EINA_UNUSED)
 {
    Evas_Object *win, *cc;
 

-- 


Reply via email to