From c2237247cc3da9a8fdf3e6e3f367971d41a6f7f5 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Tue, 25 Jan 2022 22:17:56 +0100 Subject: [PATCH] Don't export internal symbol. --- src/lj_snap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.