summaryrefslogtreecommitdiff
path: root/src/tests/eo/function_overrides
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-09-25 18:10:03 +0100
committerTom Hacohen <tom@stosb.com>2013-09-27 14:01:47 +0100
commit2a82ff95e42e261d5a40d1062beff5c482ca7073 (patch)
treee543423b5480a1600e629cfcc096316bb12cae79 /src/tests/eo/function_overrides
parent298527191e82194faf16024f39ca1bd53931731f (diff)
Eo: unify the class func and normal func prototypes.
Conflicts: src/lib/eo/eo.c
Diffstat (limited to 'src/tests/eo/function_overrides')
-rw-r--r--src/tests/eo/function_overrides/function_overrides_inherit2.c2
-rw-r--r--src/tests/eo/function_overrides/function_overrides_simple.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/eo/function_overrides/function_overrides_inherit2.c b/src/tests/eo/function_overrides/function_overrides_inherit2.c
index 1c8f9da02a..a24c31300c 100644
--- a/src/tests/eo/function_overrides/function_overrides_inherit2.c
+++ b/src/tests/eo/function_overrides/function_overrides_inherit2.c
@@ -39,7 +39,7 @@ _print2(Eo *obj EINA_UNUSED, void *class_data EINA_UNUSED, va_list *list EINA_UN
39} 39}
40 40
41static void 41static void
42_class_print(const Eo *klass, va_list *list) 42_class_print(Eo *klass, void *data EINA_UNUSED, va_list *list)
43{ 43{
44 (void) list; 44 (void) list;
45 printf("Print %s-%s\n", eo_class_name_get(klass), eo_class_name_get(MY_CLASS)); 45 printf("Print %s-%s\n", eo_class_name_get(klass), eo_class_name_get(MY_CLASS));
diff --git a/src/tests/eo/function_overrides/function_overrides_simple.c b/src/tests/eo/function_overrides/function_overrides_simple.c
index c91e2d9a02..2fa046e786 100644
--- a/src/tests/eo/function_overrides/function_overrides_simple.c
+++ b/src/tests/eo/function_overrides/function_overrides_simple.c
@@ -30,7 +30,7 @@ _a_print(Eo *obj EINA_UNUSED, void *class_data, va_list *list)
30} 30}
31 31
32static void 32static void
33_class_print(const Eo *klass, va_list *list) 33_class_print(Eo *klass, void *data EINA_UNUSED, va_list *list)
34{ 34{
35 (void) list; 35 (void) list;
36 printf("Print %s-%s\n", eo_class_name_get(klass), eo_class_name_get(MY_CLASS)); 36 printf("Print %s-%s\n", eo_class_name_get(klass), eo_class_name_get(MY_CLASS));
@@ -39,7 +39,7 @@ _class_print(const Eo *klass, va_list *list)
39} 39}
40 40
41static void 41static void
42_class_print2(const Eo *klass, va_list *list) 42_class_print2(Eo *klass, void *data EINA_UNUSED, va_list *list)
43{ 43{
44 (void) list; 44 (void) list;
45 printf("Print %s-%s\n", eo_class_name_get(klass), eo_class_name_get(MY_CLASS)); 45 printf("Print %s-%s\n", eo_class_name_get(klass), eo_class_name_get(MY_CLASS));