summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pall <mike>2022-01-25 22:17:56 +0100
committerMike Pall <mike>2022-01-25 22:17:56 +0100
commitc2237247cc3da9a8fdf3e6e3f367971d41a6f7f5 (patch)
tree453bbce6526531c5c6f0e1f5de686809e9f5ebba
parentc50232eb320d56d526ba5e6cb5bda8cf5a848a55 (diff)
downloadluajit2-c2237247cc3da9a8fdf3e6e3f367971d41a6f7f5.tar.gz
Don't export internal symbol.
-rw-r--r--src/lj_snap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_snap.c b/src/lj_snap.c
index 7a02c9a9..e2da4b3e 100644
--- a/src/lj_snap.c
+++ b/src/lj_snap.c
@@ -273,7 +273,7 @@ static BCReg snap_usedef(jit_State *J, uint8_t *udf,
}
/* Mark slots used by upvalues of child prototypes as used. */
-void snap_useuv(GCproto *pt, uint8_t *udf)
+static void snap_useuv(GCproto *pt, uint8_t *udf)
{
/* This is a coarse check, because it's difficult to correlate the lifetime
** of slots and closures. But the number of false positives is quite low.