s/heap_page/pic_heap/g

This commit is contained in:
Yuichi Nishiwaki
2013-11-22 07:19:31 -08:00
parent e6523730a4
commit 579735d16e
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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
View File
@@ -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();