diff --git a/src/tests/eo/access/access_inherit.c b/src/tests/eo/access/access_inherit.c index 676aa051fe..303f60f261 100644 --- a/src/tests/eo/access/access_inherit.c +++ b/src/tests/eo/access/access_inherit.c @@ -18,8 +18,8 @@ _prot_print(Eo *obj, void *class_data EINA_UNUSED) EAPI EO2_VOID_FUNC_BODY(inherit_prot_print); -static Eo2_Op_Description op_desc[] = { - EO2_OP_FUNC(_prot_print, inherit_prot_print, "Print protocted var x1."), +static Eo2_Op_Description op_descs[] = { + EO2_OP_FUNC(_prot_print, inherit_prot_print, "Print protected var x1."), EO2_OP_SENTINEL }; @@ -27,7 +27,7 @@ static const Eo_Class_Description class_desc = { EO2_VERSION, "Inherit", EO_CLASS_TYPE_REGULAR, - EO2_CLASS_DESCRIPTION_OPS(op_desc), + EO2_CLASS_DESCRIPTION_OPS(op_descs), NULL, 0, NULL, diff --git a/src/tests/eo/access/access_simple.c b/src/tests/eo/access/access_simple.c index 38fcf46563..a7a14a10f7 100644 --- a/src/tests/eo/access/access_simple.c +++ b/src/tests/eo/access/access_simple.c @@ -32,8 +32,8 @@ _a_set(Eo *obj, void *class_data, int a) EAPI EO2_VOID_FUNC_BODYV(simple_a_set, EO2_FUNC_CALL(a), int a); -static Eo2_Op_Description op_desc[] = { - EO2_OP_FUNC(_a_set, simple_a_set, "Set property A."), +static Eo2_Op_Description op_descs[] = { + EO2_OP_FUNC(_a_set, simple_a_set, "Set property A"), EO2_OP_SENTINEL }; @@ -46,7 +46,7 @@ static const Eo_Class_Description class_desc = { EO2_VERSION, "Simple", EO_CLASS_TYPE_REGULAR, - EO2_CLASS_DESCRIPTION_OPS(op_desc), + EO2_CLASS_DESCRIPTION_OPS(op_descs), event_desc, sizeof(Private_Data), NULL, diff --git a/src/tests/eo/access/access_simple.h b/src/tests/eo/access/access_simple.h index 31a11f6106..3c92d21073 100644 --- a/src/tests/eo/access/access_simple.h +++ b/src/tests/eo/access/access_simple.h @@ -1,13 +1,13 @@ #ifndef SIMPLE_H #define SIMPLE_H +EAPI void simple_a_set(int a); + typedef struct { int public_x2; } Simple_Public_Data; -EAPI void simple_a_set(int a); - extern const Eo_Event_Description _EV_A_CHANGED; #define EV_A_CHANGED (&(_EV_A_CHANGED))