[memprof: 13/76] process.c: Remove unused compare_address



commit b30d92af9b5c0b3fe088fe9482923eda15a0f60e
Author: Holger Hans Peter Freyther <zecke selfish org>
Date:   Thu Jun 4 13:05:54 2009 +0200

    process.c: Remove unused compare_address

 src/process.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/process.c b/src/process.c
index e5ef5d3..5d67a51 100644
--- a/src/process.c
+++ b/src/process.c
@@ -123,14 +123,6 @@ typedef struct {
   gchar *name;
 } Symbol;
 
-static gint
-compare_address (const void *symbol1, const void *symbol2)
-{
-	return (((Symbol *)symbol1)->addr < ((Symbol *)symbol2)->addr) ?
-		-1 : ((((Symbol *)symbol1)->addr == ((Symbol *)symbol2)->addr) ?
-		      0 : 1);
-}
-
 void
 prepare_map (Map *map)
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]