From: Mike Pall Date: Tue, 25 Jan 2022 21:17:56 +0000 (+0100) Subject: Don't export internal symbol. X-Git-Tag: v2.1.ROLLING~92^2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=c2237247cc3da9a8fdf3e6e3f367971d41a6f7f5;p=thirdparty%2FLuaJIT.git Don't export internal symbol. --- 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.