summaryrefslogtreecommitdiff
path: root/sys/modules/lua/lua.c
diff options
context:
space:
mode:
authorlneto <lneto@NetBSD.org>2014-07-19 17:14:40 +0000
committerlneto <lneto@NetBSD.org>2014-07-19 17:14:40 +0000
commit36caccc295dc875ab70235fcd56aa30b9a0ef7f0 (patch)
treed600fc6f155bc830fc8b45f3d740f63434ad9ba2 /sys/modules/lua/lua.c
parenta28f044eb4e48aede32d6fa4c6faacc20b6f5473 (diff)
lua(4): using lua_CFunction
Diffstat (limited to 'sys/modules/lua/lua.c')
-rw-r--r--sys/modules/lua/lua.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/modules/lua/lua.c b/sys/modules/lua/lua.c
index 48d48e5676a..5e4371f4aa8 100644
--- a/sys/modules/lua/lua.c
+++ b/sys/modules/lua/lua.c
@@ -1,4 +1,4 @@
-/* $NetBSD: lua.c,v 1.9 2014/07/19 17:13:22 lneto Exp $ */
+/* $NetBSD: lua.c,v 1.10 2014/07/19 17:14:40 lneto Exp $ */
/*
* Copyright (c) 2014 by Lourival Vieira Neto <lneto@NetBSD.org>.
@@ -588,7 +588,7 @@ lua_maxcount(lua_State *L, lua_Debug *d)
}
int
-lua_mod_register(const char *name, int (*open)(void *))
+lua_mod_register(const char *name, lua_CFunction open)
{
struct lua_module *m;