diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-01-30 15:27:53 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-01-30 15:27:53 -0200 |
commit | 653977a0ac6de8f89980764da8b88412dd6ea187 (patch) | |
tree | 60243bd5b8fe3962419552458f136c34d7e7163b /ldo.c | |
parent | d6fd33e76fdeb919fd91860aa9d0f9524e6d415a (diff) | |
download | lua-653977a0ac6de8f89980764da8b88412dd6ea187.tar.gz lua-653977a0ac6de8f89980764da8b88412dd6ea187.tar.bz2 lua-653977a0ac6de8f89980764da8b88412dd6ea187.zip |
callhook can be static
Diffstat (limited to 'ldo.c')
-rw-r--r-- | ldo.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -134,7 +134,7 @@ void luaD_lineHook (lua_State *L, int line, lua_Hook linehook) { | |||
134 | } | 134 | } |
135 | 135 | ||
136 | 136 | ||
137 | void luaD_callHook (lua_State *L, lua_Hook callhook, const char *event) { | 137 | static void luaD_callHook (lua_State *L, lua_Hook callhook, const char *event) { |
138 | if (L->allowhooks) { | 138 | if (L->allowhooks) { |
139 | lua_Debug ar; | 139 | lua_Debug ar; |
140 | ar.event = event; | 140 | ar.event = event; |