removed c99 style
[libfirm] / ir / ir / irprintf_t.h
1 /*
2  * Project:     libFIRM
3  * File name:   ir/ir/irprintf_t.h
4  * Purpose:     A little printf understanding some firm types.
5  * Author:      Sebastian Hack
6  * Created:     29.11.2004
7  * CVS-ID:      $Id$
8  * Copyright:   (c) 1998-2004 Universität Karlsruhe
9  * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
10  */
11
12 #ifndef _IRPRINTF_T_H
13 #define _IRPRINTF_T_H
14
15 #include "firm_config.h"
16 #include "irprintf.h"
17
18 #ifdef DEBUG_libfirm
19
20 #define ir_debugf    ir_printf
21 #define ir_fdebugf   ir_fprintf
22
23 #else
24
25 static INLINE void ir_debugf(const char *fmt, ...)
26 {
27 }
28
29 static INLINE void ir_fdebugf(FILE *f, const char *fmt, ...)
30 {
31 }
32
33 #endif
34
35
36 #endif