aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util-src/encodings.c2
-rw-r--r--util-src/hashes.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/util-src/encodings.c b/util-src/encodings.c
index cc7beef7..27955601 100644
--- a/util-src/encodings.c
+++ b/util-src/encodings.c
@@ -199,7 +199,7 @@ static const luaL_Reg Reg[] =
{ NULL, NULL }
};
-LUALIB_API int luaopen_encodings(lua_State *L)
+LUALIB_API int luaopen_util_encodings(lua_State *L)
{
luaL_register(L, "encodings", Reg);
diff --git a/util-src/hashes.c b/util-src/hashes.c
index aa550426..f57e6b55 100644
--- a/util-src/hashes.c
+++ b/util-src/hashes.c
@@ -48,7 +48,7 @@ static const luaL_Reg Reg[] =
{ NULL, NULL }
};
-LUALIB_API int luaopen_hashes(lua_State *L)
+LUALIB_API int luaopen_util_hashes(lua_State *L)
{
luaL_register(L, "hashes", Reg);
lua_pushliteral(L, "version"); /** version */