diff --git a/moo/moolua/ext/lfs.c b/moo/moolua/ext/lfs.c index 5c301631..a1441ffd 100644 --- a/moo/moolua/ext/lfs.c +++ b/moo/moolua/ext/lfs.c @@ -490,7 +490,7 @@ struct _stat_members { _push_function push; }; -struct _stat_members members[] = { +static struct _stat_members members[] = { { "mode", push_st_mode }, { "dev", push_st_dev }, { "ino", push_st_ino }, diff --git a/moo/moolua/lua-ex/posix/spawn.h b/moo/moolua/lua-ex/posix/spawn.h index 84fb3db1..89a427c7 100644 --- a/moo/moolua/lua-ex/posix/spawn.h +++ b/moo/moolua/lua-ex/posix/spawn.h @@ -9,6 +9,15 @@ #include #include "lua.h" +#define spawn_param_init _moo_lua_ex_spawn_param_init +#define spawn_param_filename _moo_lua_ex_spawn_param_filename +#define spawn_param_args _moo_lua_ex_spawn_param_args +#define spawn_param_env _moo_lua_ex_spawn_param_env +#define spawn_param_redirect _moo_lua_ex_spawn_param_redirect +#define spawn_param_execute _moo_lua_ex_spawn_param_execute +#define process_wait _moo_lua_ex_process_wait +#define process_tostring _moo_lua_ex_process_tostring + #define PROCESS_HANDLE "process" struct process; struct spawn_params; diff --git a/moo/moolua/lua-ex/w32api/spawn.h b/moo/moolua/lua-ex/w32api/spawn.h index 085474d7..d5cf8330 100644 --- a/moo/moolua/lua-ex/w32api/spawn.h +++ b/moo/moolua/lua-ex/w32api/spawn.h @@ -9,6 +9,15 @@ #include #include "lua.h" +#define spawn_param_init _moo_lua_ex_spawn_param_init +#define spawn_param_filename _moo_lua_ex_spawn_param_filename +#define spawn_param_args _moo_lua_ex_spawn_param_args +#define spawn_param_env _moo_lua_ex_spawn_param_env +#define spawn_param_redirect _moo_lua_ex_spawn_param_redirect +#define spawn_param_execute _moo_lua_ex_spawn_param_execute +#define process_wait _moo_lua_ex_process_wait +#define process_tostring _moo_lua_ex_process_tostring + #define PROCESS_HANDLE "process" struct process; struct spawn_params;