diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-11-26 22:45:33 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-11-26 22:45:33 +0000 |
commit | 1985b40ecfe529b2c73c4da2f05d93683f375a5e (patch) | |
tree | d70232fde91d1b5f231f7a6ede195d6d36265d86 /util-src | |
parent | 7e9f14dae5d846c83578d6235895a8607362aed9 (diff) | |
download | prosody-1985b40ecfe529b2c73c4da2f05d93683f375a5e.tar.gz prosody-1985b40ecfe529b2c73c4da2f05d93683f375a5e.zip |
Fix for hashes.c and encodings.c to rename luaopen for util_*
Diffstat (limited to 'util-src')
-rw-r--r-- | util-src/encodings.c | 2 | ||||
-rw-r--r-- | util-src/hashes.c | 2 |
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 */
|