Revision 405cf9ff

b/tcg/tcg.c
2124 2124
}
2125 2125

  
2126 2126
#ifdef CONFIG_PROFILER
2127
void tcg_dump_info(FILE *f,
2128
                   int (*cpu_fprintf)(FILE *f, const char *fmt, ...))
2127
void tcg_dump_info(FILE *f, fprintf_function cpu_fprintf)
2129 2128
{
2130 2129
    TCGContext *s = &tcg_ctx;
2131 2130
    int64_t tot;
......
2169 2168
    dump_op_count();
2170 2169
}
2171 2170
#else
2172
void tcg_dump_info(FILE *f,
2173
                   int (*cpu_fprintf)(FILE *f, const char *fmt, ...))
2171
void tcg_dump_info(FILE *f, fprintf_function cpu_fprintf)
2174 2172
{
2175 2173
    cpu_fprintf(f, "[TCG profiler not compiled]\n");
2176 2174
}
b/tcg/tcg.h
392 392
void tcg_temp_free_i64(TCGv_i64 arg);
393 393
char *tcg_get_arg_str_i64(TCGContext *s, char *buf, int buf_size, TCGv_i64 arg);
394 394

  
395
void tcg_dump_info(FILE *f,
396
                   int (*cpu_fprintf)(FILE *f, const char *fmt, ...));
395
void tcg_dump_info(FILE *f, fprintf_function cpu_fprintf);
397 396

  
398 397
#define TCG_CT_ALIAS  0x80
399 398
#define TCG_CT_IALIAS 0x40

Also available in: Unified diff