diff options
Diffstat (limited to 'src/mod_magnet_cache.c')
| -rw-r--r-- | src/mod_magnet_cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_magnet_cache.c b/src/mod_magnet_cache.c index 3756bd1..1e4840f 100644 --- a/src/mod_magnet_cache.c +++ b/src/mod_magnet_cache.c @@ -9,7 +9,7 @@ #include <lualib.h> #include <lauxlib.h> -script *script_init() { +static script *script_init() { script *sc; sc = calloc(1, sizeof(*sc)); @@ -19,7 +19,7 @@ script *script_init() { return sc; } -void script_free(script *sc) { +static void script_free(script *sc) { if (!sc) return; lua_pop(sc->L, 1); /* the function copy */ |
