summaryrefslogtreecommitdiffstats
path: root/diag.h
diff options
context:
space:
mode:
Diffstat (limited to 'diag.h')
-rw-r--r--diag.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/diag.h b/diag.h
index 24ee92a..e84bbc1 100644
--- a/diag.h
+++ b/diag.h
@@ -18,16 +18,19 @@
#define BFS_DIAG_H
#include "cmdline.h"
+#include "util.h"
#include <stdarg.h>
/**
* Shorthand for printing error messages.
*/
+BFS_FORMATTER(2, 3)
void bfs_error(const struct cmdline *cmdline, const char *format, ...);
/**
* Shorthand for printing warning messages.
*/
+BFS_FORMATTER(2, 3)
void bfs_warning(const struct cmdline *cmdline, const char *format, ...);
/**