debug printing: cleanup
[babeltrace.git] / formats / ctf / metadata / ctf-lexer.l
index 07362fc9224513d842fcd0f53bdf8966251fd15b..56122813c91766d51d61a4d20109f29ab9f20a7d 100644 (file)
 #include "ctf-parser.h"
 #include "ctf-ast.h"
 
-extern void setstring(struct ctf_scanner *scanner, YYSTYPE *lvalp, const char *src);
+extern
+void setstring(struct ctf_scanner *scanner, YYSTYPE *lvalp, const char *src);
 
-#define printf_dbg(fmt, args...)       fprintf(stderr, "%s: " fmt, __func__, args)
-#define printf_dbg_noarg(fmt)  fprintf(stderr, "%s: " fmt, __func__)
+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)
 
 %}
 
This page took 0.02347 seconds and 4 git commands to generate.