]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
Don't export internal symbol.
authorMike Pall <mike>
Tue, 25 Jan 2022 21:17:56 +0000 (22:17 +0100)
committerMike Pall <mike>
Tue, 25 Jan 2022 21:17:56 +0000 (22:17 +0100)
src/lj_snap.c

index 7a02c9a92d0038a81885dbe2182e358d241368d0..e2da4b3e998a4131fd3d822ee28098970e36e50e 100644 (file)
@@ -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.