diff options
author | Petr Štetiar <ynezz@true.cz> | 2019-12-07 23:12:24 +0100 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-12-07 23:14:01 +0100 |
commit | 654d7c33da28d492412e1a0fe4463f27d362e9b9 (patch) | |
tree | 06a050d2b84c36ba7e9e90b103ef7aad35d3ba6f | |
parent | 03dfbbe6fef7639fd20a2b2e0fd97df2ff8e6516 (diff) | |
download | uci-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 * */ |