Pārlūkot izejas kodu

Don't export internal symbol.

Mike Pall 3 gadi atpakaļ
vecāks
revīzija
c2237247cc
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/lj_snap.c

+ 1 - 1
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.