summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2019-12-07 23:12:24 +0100
committerPetr Štetiar <ynezz@true.cz>2019-12-07 23:14:01 +0100
commit654d7c33da28d492412e1a0fe4463f27d362e9b9 (patch)
tree06a050d2b84c36ba7e9e90b103ef7aad35d3ba6f
parent03dfbbe6fef7639fd20a2b2e0fd97df2ff8e6516 (diff)
downloaduci-654d7c33da28d492412e1a0fe4463f27d362e9b9.tar.gz
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 <ynezz@true.cz>
-rw-r--r--lua/uci.c2
1 files changed, 2 insertions, 0 deletions
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
* */