From e0b16355ce13d802b284cd0e421d2c925557e492 Mon Sep 17 00:00:00 2001 From: Aurelien DARRAGON Date: Fri, 21 Apr 2023 17:38:37 +0200 Subject: [PATCH] CLEANUP: hlua: hlua_register_task() may longjmp Adding __LJMP prefix to hlua_register_task() to indicate that the function may longjmp when executed. --- src/hlua.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hlua.c b/src/hlua.c index b5c9facbc..2c68d4fbc 100644 --- a/src/hlua.c +++ b/src/hlua.c @@ -8863,7 +8863,7 @@ __LJMP static int hlua_register_init(lua_State *L) * * are optional arguments that will be provided to */ -static int hlua_register_task(lua_State *L) +__LJMP static int hlua_register_task(lua_State *L) { struct hlua *hlua = NULL; struct task *task = NULL;