X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fcommon%2Fdebug.h;h=b9466c9f02c03f32772514788ca6ea866898a90c;hb=4f8e80463195b1fee6ebbeefb59722faf76134cc;hp=1668ad04f7c46eed440e9355d4aa9be5403b5af5;hpb=54529d18bc9e81fe062cdce548d3b899750c6e0b;p=libfirm diff --git a/ir/common/debug.h b/ir/common/debug.h index 1668ad04f..b9466c9f0 100644 --- a/ir/common/debug.h +++ b/ir/common/debug.h @@ -49,7 +49,7 @@ enum firm_dbg_level_t { SET_LEVEL_ALL = SET_LEVEL_5 }; -typedef struct _firm_dbg_module_t firm_dbg_module_t; +typedef struct firm_dbg_module_t firm_dbg_module_t; /* Internal function to the debug module. */ void *_firm_dbg_make_msg(const firm_dbg_module_t *mod, unsigned mask, const char *fmt, ...); @@ -96,7 +96,7 @@ void firm_dbg_set_file(firm_dbg_module_t *module, FILE *file); /* If we have C99 use the __func__ variable for calling functions name. */ #if defined(__STD_VERSION__) && __STD_VERSION >= 199901L -#define _DBG(args) _DBG_MAIN(__func__, args) +#define _DBG(args) _DBG_MAIN(__func__, args) #else /* Else, check for gcc and use the proprietary __FUNCTION__ macro. */