X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fstat%2Fstatev.c;h=3d61face24e8a12c73e4f5076c4958c5521cb9ec;hb=7fc5212efdd0faf06fed3850760ca319bdc66afc;hp=e999bcf3a6f201eb524f6d2ce74060453cedcc68;hpb=16e1c8b8eb021962a62b70285b00a03d9d432665;p=libfirm diff --git a/ir/stat/statev.c b/ir/stat/statev.c index e999bcf3a..3d61face2 100644 --- a/ir/stat/statev.c +++ b/ir/stat/statev.c @@ -56,7 +56,7 @@ #include #define mfprintf gzprintf -static gzFile* stat_ev_file = NULL; +static gzFile stat_ev_file = NULL; #else @@ -122,10 +122,10 @@ void stat_ev_begin(const char *prefix, const char *filt) #ifdef FIRM_HAVE_LIBZ snprintf(buf, sizeof(buf), "%s.ev.gz", prefix); - stat_ev_file = gzopen(buf, "wt9"); + stat_ev_file = gzopen(buf, "wt9"); #else snprintf(buf, sizeof(buf), "%s.ev", prefix); - stat_ev_file = fopen(buf, "wt"); + stat_ev_file = fopen(buf, "wt"); #endif if (filt && filt[0] != '\0') {