From: Petr Štetiar Date: Sat, 7 Dec 2019 22:12:24 +0000 (+0100) Subject: lua: add missing forward declaration X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=654d7c33da28d492412e1a0fe4463f27d362e9b9;p=project%2Fuci.git lua: add missing forward declaration Fixes following warning reported by clang-10: lua/uci.c:1050:1: error: no previous declaration for ‘luaopen_uci’ [-Werror=missing-declarations] Signed-off-by: Petr Štetiar --- diff --git a/lua/uci.c b/lua/uci.c index ecfb299..196a25b 100644 --- a/lua/uci.c +++ b/lua/uci.c @@ -36,6 +36,8 @@ #if !defined LUA_VERSION_NUM || LUA_VERSION_NUM==501 +int luaopen_uci(lua_State *L); + /* * ** Adapted from Lua 5.2.0 * */