lua: add a prototype for luaopen_ubus so that -Wmissing-declarations can be enabled
This commit is contained in:
parent
95062c1ef7
commit
960c342b4a
1 changed files with 2 additions and 0 deletions
|
@ -373,6 +373,8 @@ static const luaL_Reg ubus[] = {
|
|||
{ NULL, NULL },
|
||||
};
|
||||
|
||||
/* avoid missing prototype warning */
|
||||
int luaopen_ubus(lua_State *L);
|
||||
|
||||
int
|
||||
luaopen_ubus(lua_State *L)
|
||||
|
|
Loading…
Reference in a new issue