Fix warnings.
authorChristoph Mallon <christoph.mallon@gmx.de>
Sat, 27 Oct 2012 08:21:56 +0000 (10:21 +0200)
committerChristoph Mallon <christoph.mallon@gmx.de>
Sat, 27 Oct 2012 08:21:56 +0000 (10:21 +0200)
Make function definitions prototype declarations.

ir/opt/gvn_pre.c

index 11aae21..446e63c 100644 (file)
@@ -154,18 +154,18 @@ typedef struct gvnpre_statistics {
 
 gvnpre_statistics *gvnpre_stats = NULL;
 
-static void init_stats()
+static void init_stats(void)
 {
        gvnpre_stats = XMALLOCZ(gvnpre_statistics);
 }
 
-static void free_stats()
+static void free_stats(void)
 {
        free(gvnpre_stats);
        gvnpre_stats = NULL;
 }
 
-static void print_stats()
+static void print_stats(void)
 {
        gvnpre_statistics *stats = gvnpre_stats;
        DB((dbg, LEVEL_1, "replaced             : %d\n", stats->replaced));