diff options
author | Stefan Schmidt <stefan@osg.samsung.com> | 2015-11-26 17:49:55 +0100 |
---|---|---|
committer | Stefan Schmidt <stefan@osg.samsung.com> | 2015-11-26 17:51:50 +0100 |
commit | 41e0df46c03b92b39348ef7bb512ee84127e1996 (patch) | |
tree | 8a291b00fed76d9c726cfb3196d2463371f0dd66 | |
parent | 5d8d96964a4a694880e5ed894916753240f79dee (diff) | |
download | elementary-41e0df46c03b92b39348ef7bb512ee84127e1996.tar.gz |
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.
-rw-r--r-- | src/bin/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/test.c b/src/bin/test.c index 14296a313..ddd1c4e98 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; |