From 21f6c460fcda0161993f75421614efb6971af23b Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 11 Mar 2017 14:06:42 -0500 Subject: Make a printf()-style API for colored messages --- printf.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'printf.h') 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. -- cgit v1.2.3