[vlc-commits] lua: Fix forward declarations

Hugo Beauzée-Luyssen git at videolan.org
Fri Nov 21 18:20:45 CET 2014


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Oct 22 09:55:06 2014 +0200| [90ff4acd64b0053767ce0df9fdfa3f81c1ece79f] | committer: Hugo Beauzée-Luyssen

lua: Fix forward declarations

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=90ff4acd64b0053767ce0df9fdfa3f81c1ece79f
---

 modules/lua/libs/input.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/lua/libs/input.c b/modules/lua/libs/input.c
index 5b80080..728dd97 100644
--- a/modules/lua/libs/input.c
+++ b/modules/lua/libs/input.c
@@ -44,8 +44,7 @@
 #include "../libs.h"
 #include "../extension.h"
 
-static const luaL_Reg vlclua_input_reg[];
-static const luaL_Reg vlclua_input_item_reg[];
+extern const luaL_Reg vlclua_input_item_reg[];
 
 static input_item_t* vlclua_input_item_get_internal( lua_State *L );
 



More information about the vlc-commits mailing list