eina: make the function created by EINA_VALUE_STRUCT_DESC_DEFINE inline to avoid unused warning.

This commit is contained in:
Cedric BAIL 2017-12-20 14:22:48 -08:00
parent 46ac187bd8
commit be9b50cf80
1 changed files with 1 additions and 1 deletions

View File

@ -3167,7 +3167,7 @@ struct _Eina_Value_Struct
};
#define EINA_VALUE_STRUCT_DESC_DEFINE(Name, Ops, Size, ...) \
static Eina_Value_Struct_Desc * \
static inline Eina_Value_Struct_Desc * \
Name(void) \
{ \
Eina_Value_Struct_Member tmp[] = { __VA_ARGS__ }; \