eo2: explicitly put void as the arguments in a zero argument function (macro).

This commit is contained in:
Tom Hacohen 2013-07-26 10:27:08 +01:00
parent 13b1d03def
commit ec1e507465
1 changed files with 1 additions and 1 deletions

View File

@ -639,7 +639,7 @@ typedef struct _Eo2_Op_Call_Data
// to define an EAPI function
#define EO2_FUNC_BODY(Name, Ret, DefRet) \
Ret \
Name() \
Name(void) \
{ \
typedef Ret (*__##Name##_func)(Eo *, void *obj_data); \
_EO2_FUNC_COMMON(Name, Ret, _func_(call.obj_id, call.data), DefRet)\