diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-12-08 16:45:06 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-12-08 16:46:44 -0500 |
commit | 0cc598f1628167599131756e909630dc36d33610 (patch) | |
tree | 5dd168cc9ba7c34592fa6b020f58ee59a96eabb2 /src/color.c | |
parent | ededa3ed1cf0d02fcdb9a42d44d46a84fec1c58e (diff) | |
download | bfs-0cc598f1628167599131756e909630dc36d33610.tar.xz |
Add BFS_FORMATTER() to vprintf()-type functions too
Diffstat (limited to 'src/color.c')
-rw-r--r-- | src/color.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/color.c b/src/color.c index 8d32c6c..cc37e96 100644 --- a/src/color.c +++ b/src/color.c @@ -17,6 +17,7 @@ #include "color.h" #include "bfstd.h" #include "bftw.h" +#include "config.h" #include "dir.h" #include "dstring.h" #include "expr.h" @@ -944,6 +945,7 @@ static int print_expr(CFILE *cfile, const struct bfs_expr *expr, bool verbose) { return 0; } +BFS_FORMATTER(2, 0) static int cvbuff(CFILE *cfile, const char *format, va_list args) { const struct colors *colors = cfile->colors; int error = errno; |