1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

Fixing build for ansi.

Copied from Perforce
 Change: 189221
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Richard Brooksby 2016-02-16 11:54:39 +00:00
parent c08c579ef1
commit 3ec32b9a96
2 changed files with 7 additions and 4 deletions

View file

@ -21,7 +21,9 @@
SRCID(ssan, "$Id$");
Res StackScan(ScanState ss, Word *stackBot, Word mask, Word pattern)
Res StackScan(ScanState ss, Word *stackBot,
mps_area_scan_t scan_area,
void *closure, size_t closure_size)
{
jmp_buf jb;
Word *stackTop = (Word *)&jb;
@ -36,7 +38,7 @@ Res StackScan(ScanState ss, Word *stackBot, Word mask, Word pattern)
(void)setjmp(jb);
return StackScanInner(ss, stackBot, stackTop, sizeof jb / sizeof(Word),
mask, pattern);
scan_area, closure, closure_size);
}

View file

@ -118,10 +118,11 @@ Arena ThreadArena(Thread thread)
Res ThreadScan(ScanState ss, Thread thread, Word *stackBot,
Word mask, Word pattern)
mps_area_scan_t scan_area,
void *closure, size_t closure_size)
{
UNUSED(thread);
return StackScan(ss, stackBot, mask, pattern);
return StackScan(ss, stackBot, scan_area, closure, closure_size);
}