diff --git a/src/benchmarks/eo/class_simple.h b/src/benchmarks/eo/class_simple.h index 6460b0a5f5..ecfbfa7f99 100644 --- a/src/benchmarks/eo/class_simple.h +++ b/src/benchmarks/eo/class_simple.h @@ -6,10 +6,10 @@ typedef struct int a; } Simple_Public_Data; -EAPI void simple_a_set(int a); +EAPI void simple_a_set(Eo *self, int a); /* Calls simple_other_call(other, obj) and then simple_other_call(obj, other) * for 'times' times in order to grow the call stack on other objects. */ -EAPI void simple_other_call(Eo *other, int times); +EAPI void simple_other_call(Eo*self, Eo *other, int times); #define SIMPLE_CLASS simple_class_get() const Eo_Class *simple_class_get(void); diff --git a/src/benchmarks/eo/eo_bench_callbacks.c b/src/benchmarks/eo/eo_bench_callbacks.c index ab779f8417..c06e66e40f 100644 --- a/src/benchmarks/eo/eo_bench_callbacks.c +++ b/src/benchmarks/eo/eo_bench_callbacks.c @@ -50,7 +50,7 @@ bench_eo_callbacks_call(int request) const int len = EINA_C_ARRAY_LENGTH(distribution); int i, j; - Eo *obj[len] = { 0 }; + Eo *obj[len]; for (i = 0 ; i < len ; i++) { obj[i] = eo_add(SIMPLE_CLASS, NULL);