Correct prototypes in heap.h