diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2020-10-06 12:51:52 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2020-10-06 12:51:52 -0400 |
commit | 1312165d6501c02406b33eba8a3daf78e8938b9a (patch) | |
tree | 4e21eff1e828a09859c42a49e645aab31609cc63 | |
parent | 98a3dd364739136329fe2b8f9cdeecf776fb17c9 (diff) | |
download | bfs-1312165d6501c02406b33eba8a3daf78e8938b9a.tar.xz |
ctx: Don't include color.h
-rw-r--r-- | ctx.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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. |