summaryrefslogtreecommitdiffstats
path: root/src/color.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-11-09 12:59:20 -0500
committerTavian Barnes <tavianator@tavianator.com>2023-11-09 15:35:05 -0500
commit026e8fbd248561396752552efa3cc04e0ac832b7 (patch)
treef1923d669e629be299c99a9563a2090613d48a5b /src/color.c
parentb5b1e98a66aef5b64409e3d02149733bf3f475fb (diff)
downloadbfs-026e8fbd248561396752552efa3cc04e0ac832b7.tar.xz
config: s/BFS_FORMATTER/attr_format/
Diffstat (limited to 'src/color.c')
-rw-r--r--src/color.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/color.c b/src/color.c
index fbb5edf..7644ca3 100644
--- a/src/color.c
+++ b/src/color.c
@@ -1105,7 +1105,7 @@ static int print_link_target(CFILE *cfile, const struct BFTW *ftwbuf) {
}
/** Format some colored output to the buffer. */
-BFS_FORMATTER(2, 3)
+attr_format(2, 3)
static int cbuff(CFILE *cfile, const char *format, ...);
/** Dump a parsed expression tree, for debugging. */
@@ -1177,7 +1177,7 @@ static int print_expr(CFILE *cfile, const struct bfs_expr *expr, bool verbose) {
return 0;
}
-BFS_FORMATTER(2, 0)
+attr_format(2, 0)
static int cvbuff(CFILE *cfile, const char *format, va_list args) {
const struct colors *colors = cfile->colors;
int error = errno;