s/heap_page/pic_heap/g
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
#endif
|
||||
|
||||
void
|
||||
init_heap_page(struct heap_page *heap)
|
||||
init_heap(struct pic_heap *heap)
|
||||
{
|
||||
heap->base.s.ptr = heap->freep = &heap->base;
|
||||
heap->base.s.size = 0; /* not 1, since it must never be fused into other headers */
|
||||
|
||||
+2
-2
@@ -43,8 +43,8 @@ pic_open(int argc, char *argv[], char **envp)
|
||||
pic->rlen = PIC_RESCUE_SIZE;
|
||||
|
||||
/* memory heap */
|
||||
pic->heap = (struct heap_page *)calloc(1, sizeof(struct heap_page));
|
||||
init_heap_page(pic->heap);
|
||||
pic->heap = (struct pic_heap *)calloc(1, sizeof(struct pic_heap));
|
||||
init_heap(pic->heap);
|
||||
|
||||
/* symbol table */
|
||||
pic->sym_tbl = xh_new();
|
||||
|
||||
Reference in New Issue
Block a user