From 09b208c2899875bceee729b30b00c7284447a724 Mon Sep 17 00:00:00 2001 From: Pierre Ynard Date: Wed, 16 Nov 2016 09:40:47 +0100 Subject: [PATCH] lua: privatize intf_sys_t --- modules/lua/intf.c | 10 ++++++++++ modules/lua/vlc.h | 11 ----------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/modules/lua/intf.c b/modules/lua/intf.c index 210caf0e6d..46738dca76 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 6d55b3d6ca..0186bfac04 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 */ -- GitLab