diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-07-28 10:47:59 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-07-28 10:54:34 -0400 |
commit | 26f3c379c1603ebdc35d1653b677b9e22685fd81 (patch) | |
tree | 7767d85b72bd46fe5bd8de772c453f0654fb780a /src/color.c | |
parent | a12c4dbf12f5dff559abc4464b905842031696da (diff) | |
download | bfs-26f3c379c1603ebdc35d1653b677b9e22685fd81.tar.xz |
prelude: Simplify attributes
Diffstat (limited to 'src/color.c')
-rw-r--r-- | src/color.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/color.c b/src/color.c index 13a4e08..052de69 100644 --- a/src/color.c +++ b/src/color.c @@ -1119,7 +1119,7 @@ static int print_link_target(CFILE *cfile, const struct BFTW *ftwbuf) { } /** Format some colored output to the buffer. */ -attr(printf(2, 3)) +_printf(2, 3) static int cbuff(CFILE *cfile, const char *format, ...); /** Dump a parsed expression tree, for debugging. */ @@ -1188,7 +1188,7 @@ static int print_expr(CFILE *cfile, const struct bfs_expr *expr, bool verbose, i return 0; } -attr(printf(2, 0)) +_printf(2, 0) static int cvbuff(CFILE *cfile, const char *format, va_list args) { const struct colors *colors = cfile->colors; |