Change in osmocom-bb[master]: lua: Add a sentinel for the fd function table

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Holger Freyther gerrit-no-reply at lists.osmocom.org
Sat Apr 27 09:15:49 UTC 2019


Holger Freyther has uploaded this change for review. ( https://gerrit.osmocom.org/13798


Change subject: lua: Add a sentinel for the fd function table
......................................................................

lua: Add a sentinel for the fd function table

Change-Id: I4fe2fd6584a453a951361e1b67fb986583b176be
---
M src/host/layer23/src/mobile/script_lua.c
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/98/13798/1

diff --git a/src/host/layer23/src/mobile/script_lua.c b/src/host/layer23/src/mobile/script_lua.c
index 9117cdd..2979e7c 100644
--- a/src/host/layer23/src/mobile/script_lua.c
+++ b/src/host/layer23/src/mobile/script_lua.c
@@ -544,6 +544,7 @@
 static const struct luaL_Reg fd_funcs[] = {
 	{ "unregister", lua_fd_unregister },
 	{ "__gc", lua_fd_unregister },
+	{ NULL, NULL },
 };
 
 static const struct luaL_Reg ms_funcs[] = {

-- 
To view, visit https://gerrit.osmocom.org/13798
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4fe2fd6584a453a951361e1b67fb986583b176be
Gerrit-Change-Number: 13798
Gerrit-PatchSet: 1
Gerrit-Owner: Holger Freyther <holger at freyther.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190427/428b1531/attachment.htm>


More information about the gerrit-log mailing list