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 --- bfs.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bfs.h') diff --git a/bfs.h b/bfs.h index b589def..708deaa 100644 --- a/bfs.h +++ b/bfs.h @@ -84,10 +84,10 @@ struct cmdline { /** Color data. */ struct colors *colors; - /** Colors to use for stdout. */ - const struct colors *stdout_colors; - /** Colors to use for stderr. */ - const struct colors *stderr_colors; + /** Colored stdout. */ + CFILE *cout; + /** Colored stderr. */ + CFILE *cerr; /** -mindepth option. */ int mindepth; -- cgit v1.2.3