forked from enlightenment/efl
efl: remove eina_promise typedef
fixes the following warnings: /usr/local/include/efl-1/Efl_Model_Common.h:14:30: warning: redefinition of typedef 'Eina_Promise' is a C11 feature [-Wtypedef-redefinition] typedef struct _Eina_Promise Eina_Promise; ^ /usr/local/include/eina-1/eina/eina_promise.h:10:30: note: previous definition is here typedef struct _Eina_Promise Eina_Promise; To remove the typedef i had to cleanup the includes of header in evas_canvas3d_eet.c.
This commit is contained in:
parent
51e86a4c0d
commit
e58e5eda08
|
@ -11,8 +11,6 @@ EAPI extern Eina_Error EFL_MODEL_ERROR_INIT_FAILED;
|
|||
EAPI extern Eina_Error EFL_MODEL_ERROR_INCORRECT_VALUE;
|
||||
EAPI extern Eina_Error EFL_MODEL_ERROR_PERMISSION_DENIED;
|
||||
|
||||
typedef struct _Eina_Promise Eina_Promise;
|
||||
|
||||
/**
|
||||
* @struct _Efl_Model_Children_Event
|
||||
* Every time a child id added the event
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#include <stdio.h>
|
||||
#include <Eet.h>
|
||||
#include "evas_common_private.h"
|
||||
#include "evas_private.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue