summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2003-02-20 08:29:03 +0000
committerEric Anholt <anholt@freebsd.org>2003-02-20 08:29:03 +0000
commitae0ee9a2f7f84196a616026a5974c8196dc7ab97 (patch)
tree8d3f7431d7a31f733714c84817a8bf90e72edd64
parentb528efae821e5f695a36b3eab2ea781510da81f9 (diff)
#if 0 out print_heap, a static, unused function that causes warnings.bsd-4-0-0-20030220-freeze
-rw-r--r--shared-core/radeon_mem.c2
-rw-r--r--shared/radeon_mem.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/shared-core/radeon_mem.c b/shared-core/radeon_mem.c
index 5c07c1afe..50b6ee38c 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 5c07c1afe..50b6ee38c 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?
*/