From 654d7c33da28d492412e1a0fe4463f27d362e9b9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20=C5=A0tetiar?= Date: Sat, 7 Dec 2019 23:12:24 +0100 Subject: [PATCH] lua: add missing forward declaration MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- lua/uci.c | 2 ++ 1 file changed, 2 insertions(+) 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 * */ -- 2.30.2