Browse Source

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>
Petr Štetiar 4 years ago
parent
commit
654d7c33da
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lua/uci.c

+ 2 - 0
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
  * */