lua: add a prototype for luaopen_ubus so that -Wmissing-declarations can be enabled

This commit is contained in:
Felix Fietkau 2012-05-29 00:41:27 +02:00
parent 95062c1ef7
commit 960c342b4a

View file

@ -373,6 +373,8 @@ static const luaL_Reg ubus[] = {
{ NULL, NULL }, { NULL, NULL },
}; };
/* avoid missing prototype warning */
int luaopen_ubus(lua_State *L);
int int
luaopen_ubus(lua_State *L) luaopen_ubus(lua_State *L)