more warning fixes
authorMatthias Braun <matze@braunis.de>
Tue, 12 Sep 2006 12:17:37 +0000 (12:17 +0000)
committerMatthias Braun <matze@braunis.de>
Tue, 12 Sep 2006 12:17:37 +0000 (12:17 +0000)
[r8221]

ir/ana/cdep.c
ir/ana/execfreq.h
ir/ana2/timing.c

index eb84076..7ca868a 100644 (file)
@@ -147,6 +147,8 @@ void compute_cdep(ir_graph *irg)
        set_dump_block_edge_hook(cdep_edge_hook);
        dump_ir_block_graph(irg, "_cdep");
        set_dump_block_edge_hook(NULL);
+#else
+       (void) cdep_edge_hook;
 #endif
 
        /* restore the post dominator relation */
index 8548aa7..32b33df 100644 (file)
@@ -37,7 +37,7 @@ exec_freq_t *compute_execfreq(ir_graph *irg, double loop_weight);
 
 void free_execfreq(exec_freq_t *ef);
 
-double get_block_execfreq(const exec_freq_t *ef, const ir_node * irn);
-unsigned long get_block_execfreq_ulong(const exec_freq_t *ef, const ir_node *bb);
+double get_block_execfreq(const exec_freq_t *ef, const ir_node *block);
+unsigned long get_block_execfreq_ulong(const exec_freq_t *ef, const ir_node *block);
 
 #endif /* EXECFREQ_H_ */
index 89622cf..fabe9d1 100644 (file)
@@ -23,7 +23,8 @@
 #include <stdlib.h>
 #include <string.h>
 
-# include "timing.h"
+#include "timing.h"
+#include "xmalloc.h"
 
 struct timing_env
 {
@@ -39,7 +40,7 @@ int end_timing (timing_t *t) {}
 #else
 #include <sys/time.h>
 
-\f
+
 /*
 Helpers
 */
@@ -62,7 +63,7 @@ timeval_subtract (struct timeval *x, struct timeval *y)
   return ((x->tv_sec - y->tv_sec) * 1000000 + (x->tv_usec - y->tv_usec));
 }
 
-\f
+
 /*
   Public Interface
 */
@@ -101,9 +102,12 @@ end_timing (timing_t *t)
 }
 #endif /* _WIN32 */
 
-\f
+
 /*
   $Log$
+  Revision 1.5  2006/09/12 12:17:37  matze
+  more warning fixes
+
   Revision 1.4  2006/06/06 12:06:27  beck
   use xmalloc instead of malloc
 
@@ -115,6 +119,4 @@ end_timing (timing_t *t)
 
   Revision 1.1  2004/10/29 18:55:52  liekweg
   (mostly) generic timimg
-
-
 */