|
51 | 51 | #include "gccodedefs.h" // for reclaimcodeblock |
52 | 52 | #include "gcdata.h" // for DELREF, REC_GCLOOKUP |
53 | 53 | #include "gchtfinddefs.h" // for htfind, rec_htfind |
54 | | -#include "gcfinaldefs.h" // for arrayblockmerger, checkarrayblock |
| 54 | +#include "gcfinaldefs.h" // for checkarrayblock |
55 | 55 | #include "lispemul.h" // for LispPTR, NIL, T, POINTERMASK, DLword, ATOM_T |
56 | 56 | #include "llstkdefs.h" // for decusecount68k |
57 | 57 | #include "lspglob.h" // for FreeBlockBuckets_word, ArrayMerging_word |
@@ -374,13 +374,13 @@ LispPTR makefreearrayblock(LispPTR block, DLword length) { |
374 | 374 | /* */ |
375 | 375 | /* */ |
376 | 376 | /************************************************************************/ |
377 | | -LispPTR arrayblockmerger(LispPTR base, LispPTR nbase) { |
| 377 | +static LispPTR arrayblockmerger(LispPTR base, LispPTR nbase) { |
378 | 378 | DLword arlens, narlens, secondbite, minblocksize, shaveback; |
379 | | - struct arrayblock *bbase, *bnbase; |
380 | | - bbase = (struct arrayblock *)NativeAligned4FromLAddr(base); |
381 | | - bnbase = (struct arrayblock *)NativeAligned4FromLAddr(nbase); |
382 | | - arlens = bbase->arlen; |
383 | | - narlens = bnbase->arlen; |
| 379 | + struct arrayblock *base_np, *nbase_np; |
| 380 | + base_np = (struct arrayblock *)NativeAligned4FromLAddr(base); |
| 381 | + nbase_np = (struct arrayblock *)NativeAligned4FromLAddr(nbase); |
| 382 | + arlens = base_np->arlen; |
| 383 | + narlens = nbase_np->arlen; |
384 | 384 | secondbite = MAXARRAYBLOCKSIZE - arlens; |
385 | 385 | /* There are three cases for merging the blocks |
386 | 386 | * (1) the total size of the two blocks is less than max: |
|
0 commit comments