summaryrefslogtreecommitdiffstats
path: root/printf.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2017-03-11 14:06:42 -0500
committerTavian Barnes <tavianator@tavianator.com>2017-03-11 14:06:42 -0500
commit21f6c460fcda0161993f75421614efb6971af23b (patch)
tree80ff098bd62d81a694ad22c1dae66cdb01c7e51f /printf.h
parentd03c58ef1cc8aa932b4f652dea14f762716bc02a (diff)
downloadbfs-21f6c460fcda0161993f75421614efb6971af23b.tar.xz
Make a printf()-style API for colored messages
Diffstat (limited to 'printf.h')
-rw-r--r--printf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/printf.h b/printf.h
index 34eda0a..32171ca 100644
--- a/printf.h
+++ b/printf.h
@@ -34,11 +34,11 @@ struct bfs_printf {
*
* @param format
* The format string to parse.
- * @param stderr_colors
- * Color table for printing error messages.
+ * @param cerr
+ * For error messages.
* @return The parsed printf command, or NULL on failure.
*/
-struct bfs_printf *parse_bfs_printf(const char *format, const struct colors *stderr_colors);
+struct bfs_printf *parse_bfs_printf(const char *format, CFILE *cerr);
/**
* Evaluate a parsed format string.