From ae0ee9a2f7f84196a616026a5974c8196dc7ab97 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 20 Feb 2003 08:29:03 +0000 Subject: #if 0 out print_heap, a static, unused function that causes warnings. --- shared-core/radeon_mem.c | 2 ++ shared/radeon_mem.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/shared-core/radeon_mem.c b/shared-core/radeon_mem.c index 5c07c1af..50b6ee38 100644 --- a/shared-core/radeon_mem.c +++ b/shared-core/radeon_mem.c @@ -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? */ diff --git a/shared/radeon_mem.c b/shared/radeon_mem.c index 5c07c1af..50b6ee38 100644 --- a/shared/radeon_mem.c +++ b/shared/radeon_mem.c @@ -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? */ -- cgit v1.2.3