eina_inline_value: use void to force empty function parameters

We have to use void in a function declaration if we want no function
parameters. Using just empty parenthesis means the function takes an
unspecified number of parameters.
This commit is contained in:
Stefan Schmidt 2016-01-11 22:18:37 +01:00
parent 88cce73f90
commit 117ccbd98c
1 changed files with 1 additions and 1 deletions

View File

@ -1657,7 +1657,7 @@ eina_value_struct_member_value_set(Eina_Value *dst, const Eina_Value_Struct_Memb
EINA_SAFETY_ON_FALSE_RETURN_VAL(value->type->setup == EINA_VALUE_TYPE_OPTIONAL->setup, retval)
static inline Eina_Value*
eina_value_optional_empty_new()
eina_value_optional_empty_new(void)
{
return eina_value_new(EINA_VALUE_TYPE_OPTIONAL);
}