diff --git a/Common/LuaBindings.h b/Common/LuaBindings.h
index b6d675f8bff1fa8fa6a7af65642a6380c38f0915..fca8ec1f5de55aa58aa021e20e1cdd1db6f8f4a3 100644
--- a/Common/LuaBindings.h
+++ b/Common/LuaBindings.h
@@ -498,7 +498,7 @@ static int luaCall(lua_State *L, void (*_f)(t0)) {
   return 1;
 };
 template < >
-int luaCall(lua_State *L,void (*_f)()) {
+static int luaCall(lua_State *L,void (*_f)()) {
   if (lua_gettop(L)==1)
     lua_remove(L,1);
   (*(_f))();