From 1312165d6501c02406b33eba8a3daf78e8938b9a Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 6 Oct 2020 12:51:52 -0400 Subject: ctx: Don't include color.h --- ctx.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ctx.h b/ctx.h index ec626c5..ba9bca4 100644 --- a/ctx.h +++ b/ctx.h @@ -21,8 +21,8 @@ #ifndef BFS_CTX_H #define BFS_CTX_H +#include "bftw.h" #include "trie.h" -#include "color.h" /** * Various debugging flags. @@ -87,9 +87,9 @@ struct bfs_ctx { /** The error that occurred parsing the color table, if any. */ int colors_error; /** Colored stdout. */ - CFILE *cout; + struct CFILE *cout; /** Colored stderr. */ - CFILE *cerr; + struct CFILE *cerr; /** User table. */ struct bfs_users *users; @@ -157,7 +157,7 @@ const struct bfs_mtab *bfs_ctx_mtab(const struct bfs_ctx *ctx); * @return * The opened file, or NULL on failure. */ -CFILE *bfs_ctx_open(struct bfs_ctx *ctx, const char *path, bool use_color); +struct CFILE *bfs_ctx_open(struct bfs_ctx *ctx, const char *path, bool use_color); /** * Dump the parsed command line. -- cgit v1.2.3