summaryrefslogtreecommitdiffstats
path: root/waftools
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-11-23 15:15:24 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-11-23 16:17:52 +0100
commit26f8887422c5313114f298fb48a103c9bee36705 (patch)
treecb6709d7b40281334b15ca22d66b35b2d22c80e7 /waftools
parent22d8cdfe9077c69db6ba422d087f63e530feef11 (diff)
downloadmpv-26f8887422c5313114f298fb48a103c9bee36705.tar.bz2
mpv-26f8887422c5313114f298fb48a103c9bee36705.tar.xz
build: fix missing prototypes in lua check fragment
Diffstat (limited to 'waftools')
-rw-r--r--waftools/fragments/lua.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/waftools/fragments/lua.c b/waftools/fragments/lua.c
index 43d678b476..896667b188 100644
--- a/waftools/fragments/lua.c
+++ b/waftools/fragments/lua.c
@@ -6,13 +6,13 @@
// filled on the python side with .format()
{additional_lua_test_header}
-void test_lua(void) {{
+static void test_lua(void) {{
lua_State *L = luaL_newstate();
lua_pushstring(L, "test");
lua_setglobal(L, "test");
}}
-void test_other(void) {{
+static void test_other(void) {{
// filled on the python side with .format()
{additional_lua_test_code}
}}