diff --git a/modules/lua/intf.c b/modules/lua/intf.c index 210caf0e6da868169ab780f2c7d601b3efb40d8f..46738dca762befd3ec2d8e2873128d327b29461d 100644 --- a/modules/lua/intf.c +++ b/modules/lua/intf.c @@ -46,6 +46,16 @@ static void *Run( void * ); static const char * const ppsz_intf_options[] = { "intf", "config", NULL }; +/***************************************************************************** + * Local structures + *****************************************************************************/ +struct intf_sys_t +{ + char *psz_filename; + lua_State *L; + vlc_thread_t thread; + vlclua_dtable_t dtable; +}; /***************************************************************************** * *****************************************************************************/ diff --git a/modules/lua/vlc.h b/modules/lua/vlc.h index 6d55b3d6ca864f25a8a875a4ff2671edfb57772e..0186bfac04bbd23ec46bc2295b77b4b2061a27db 100644 --- a/modules/lua/vlc.h +++ b/modules/lua/vlc.h @@ -204,16 +204,5 @@ void vlclua_fd_interrupt( vlclua_dtable_t * ); void vlclua_fd_cleanup( vlclua_dtable_t * ); struct vlc_interrupt *vlclua_set_interrupt( lua_State *L ); -/** - * Per-interface private state - */ -struct intf_sys_t -{ - char *psz_filename; - lua_State *L; - vlc_thread_t thread; - vlclua_dtable_t dtable; -}; - #endif /* VLC_LUA_H */