Commit 13cb1f0e authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

lua: dead code

parent fe30f8c0
......@@ -30,7 +30,6 @@ void luaopen_httpd( lua_State * );
void luaopen_input( lua_State * );
void luaopen_msg( lua_State * );
void luaopen_misc( lua_State * );
void luaopen_net_generic( lua_State * );
void luaopen_object( lua_State * );
void luaopen_osd( lua_State * );
void luaopen_playlist( lua_State * );
......
......@@ -544,17 +544,3 @@ void vlclua_fd_cleanup( vlclua_dtable_t *dt )
close( dt->fd[0] );
#endif
}
static const luaL_Reg vlclua_net_generic_reg[] = {
{ "url_parse", vlclua_url_parse },
{ "stat", vlclua_stat }, /* Not really "net" */
{ "opendir", vlclua_opendir }, /* Not really "net" */
{ NULL, NULL }
};
void luaopen_net_generic( lua_State *L )
{
lua_newtable( L );
luaL_register( L, NULL, vlclua_net_generic_reg );
lua_setfield( L, -2, "net" );
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment