summaryrefslogtreecommitdiffstats
path: root/color.h
diff options
context:
space:
mode:
Diffstat (limited to 'color.h')
-rw-r--r--color.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/color.h b/color.h
index 419180c..a68378e 100644
--- a/color.h
+++ b/color.h
@@ -18,6 +18,7 @@
#define BFS_COLOR_H
#include "bftw.h"
+#include <stdarg.h>
#include <stdbool.h>
#include <stdio.h>
@@ -108,4 +109,9 @@ int cfclose(CFILE *cfile);
*/
int cfprintf(CFILE *cfile, const char *format, ...);
+/**
+ * cfprintf() variant that takes a va_list.
+ */
+int cvfprintf(CFILE *cfile, const char *format, va_list args);
+
#endif // BFS_COLOR_H