debug printing: cleanup
[babeltrace.git] / formats / ctf / metadata / ctf-lexer.l
index 5291d2cc442f98682dff200c56c61de399d432ba..56122813c91766d51d61a4d20109f29ab9f20a7d 100644 (file)
@@ -29,8 +29,7 @@ static void yyunput (int c, register char * yy_bp , yyscan_t yyscanner)
        __attribute__((unused));
 static int input (yyscan_t yyscanner) __attribute__((unused));
 
-#define printf_dbg(fmt, args...)       fprintf(stderr, "%s: " fmt, __func__, args)
-#define printf_dbg_noarg(fmt)  fprintf(stderr, "%s: " fmt, __func__)
+#define printf_dbg(fmt, args...)       fprintf(stderr, "%s: " fmt, __func__, ##args)
 
 %}
 
This page took 0.023519 seconds and 4 git commands to generate.