eina - fix eina-module warning with global + stop using gcc extn for file

This commit is contained in:
Carsten Haitzler 2014-07-18 08:05:25 +09:00
parent ff5bac5e6e
commit 7a7d3be140
1 changed files with 2 additions and 1 deletions

View File

@ -95,7 +95,7 @@ struct _Eina_Module
Eina_Bool global;
const char file[];
const char file[1];
};
typedef struct _Dir_List_Get_Cb_Data
@ -273,6 +273,7 @@ EAPI Eina_Module *eina_module_new(const char *file)
memcpy((char *)m->file, file, len + 1);
m->ref = 0;
m->handle = NULL;
m->global = EINA_FALSE;
DBG("m=%p, file=%s", m, file);
return m;