evas: fix warning: redefinition of types

Fixes warnings raised by cland such as:
warning: redefinition of typedef 'Efl_VG' is a C11 feature
[-Wtypedef-redefinition]
This commit is contained in:
Jean Guyomarc'h 2016-05-28 22:13:19 +02:00
parent 092ce1f83b
commit 5bfaef58f1
2 changed files with 3 additions and 3 deletions

View File

@ -162,8 +162,10 @@ typedef struct _Evas_Public_Data Evas_Public_Data;
*/
typedef Eo Evas_Object;
/* This define is used in H files generated by Eolian */
/* These defines are used in H files generated by Eolian to avoid
* redefinition of types */
#define _EVAS_OBJECT_EO_CLASS_TYPE
#define _EFL_VG_EO_CLASS_TYPE
/**
* Type of abstract VG node

View File

@ -10,8 +10,6 @@ extern Eina_Hash* signals_hash_table;
static Eina_Hash *_evas_smart_class_names_hash_table = NULL;
typedef struct _Evas_Smart_Data Evas_Smart_Data;
struct _Evas_Smart_Data
{
struct {