X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Fgvn_pre.c;h=51d33d3860fcd480e1073bec9adc430253f46117;hb=04aa762a930950594df01a6246c08f9d02e76dba;hp=11aae2102198cb3ac4b33ec0568f7ebe20003b80;hpb=54f285441e0ed086ee92662ff15187ff69ffcf43;p=libfirm diff --git a/ir/opt/gvn_pre.c b/ir/opt/gvn_pre.c index 11aae2102..51d33d386 100644 --- a/ir/opt/gvn_pre.c +++ b/ir/opt/gvn_pre.c @@ -152,20 +152,20 @@ typedef struct gvnpre_statistics { int infinite_loops; } gvnpre_statistics; -gvnpre_statistics *gvnpre_stats = NULL; +static 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));