summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2019-04-27 10:15:28 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2019-04-27 10:15:28 +0100
commitb4bd78a8eedda7b87b24f4b8bbd4441eb11ec31c (patch)
tree276af83429d0c47c077ea3a3a1f1e217b9c65f5b
parentcca67cfe94ab47f07ab7e40e9612c1f99b99c113 (diff)
lua: Add a sentinel for the fd function table
-rw-r--r--src/host/layer23/src/mobile/script_lua.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/host/layer23/src/mobile/script_lua.c b/src/host/layer23/src/mobile/script_lua.c
index 9117cdd4..2979e7cd 100644
--- a/src/host/layer23/src/mobile/script_lua.c
+++ b/src/host/layer23/src/mobile/script_lua.c
@@ -544,6 +544,7 @@ static int lua_fd_unregister(lua_State *L) {
static const struct luaL_Reg fd_funcs[] = {
{ "unregister", lua_fd_unregister },
{ "__gc", lua_fd_unregister },
+ { NULL, NULL },
};
static const struct luaL_Reg ms_funcs[] = {