From f481e8dc645e5472b9dad3cd40270376cf8a24bb Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Thu, 7 Nov 2013 16:55:26 +0000 Subject: [PATCH] eo2: fixed EO2_VOID_CLASS_FUNC_BODY function. --- src/lib/eo/Eo.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/eo/Eo.h b/src/lib/eo/Eo.h index e2dfc6dc87..0b3b70cd7b 100644 --- a/src/lib/eo/Eo.h +++ b/src/lib/eo/Eo.h @@ -714,13 +714,11 @@ EAPI extern Eo2_Hook_Call eo2_hook_call_post; void \ Name(void) \ { \ - typedef Ret (*__##Name##_func)(Eo_Class *); \ - Ret _r; \ + typedef void (*__##Name##_func)(Eo_Class *); \ EO2_FUNC_COMMON_OP(Name, , EO_OP_TYPE_CLASS); \ EO2_HOOK_CALL_PREPARE(eo2_hook_call_pre); \ _func_(call.klass); \ EO2_HOOK_CALL_PREPARE(eo2_hook_call_post); \ - return _r; \ } #define EO2_CLASS_FUNC_BODYV(Name, Ret, DefRet, Arguments, ...) \