#if 0 out print_heap, a static, unused function that causes warnings.

This commit is contained in:
Eric Anholt 2003-02-20 08:29:03 +00:00
parent b528efae82
commit ae0ee9a2f7
2 changed files with 4 additions and 0 deletions

View file

@ -130,6 +130,7 @@ static void free_block( struct mem_block *p )
}
}
#if 0
static void print_heap( struct mem_block *heap )
{
struct mem_block *p;
@ -139,6 +140,7 @@ static void print_heap( struct mem_block *heap )
p->start, p->start + p->size,
p->size, p->pid);
}
#endif
/* Initialize. How to check for an uninitialized heap?
*/

View file

@ -130,6 +130,7 @@ static void free_block( struct mem_block *p )
}
}
#if 0
static void print_heap( struct mem_block *heap )
{
struct mem_block *p;
@ -139,6 +140,7 @@ static void print_heap( struct mem_block *heap )
p->start, p->start + p->size,
p->size, p->pid);
}
#endif
/* Initialize. How to check for an uninitialized heap?
*/