diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-11-09 12:59:20 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-11-09 15:35:05 -0500 |
commit | 026e8fbd248561396752552efa3cc04e0ac832b7 (patch) | |
tree | f1923d669e629be299c99a9563a2090613d48a5b /src/opt.c | |
parent | b5b1e98a66aef5b64409e3d02149733bf3f475fb (diff) | |
download | bfs-026e8fbd248561396752552efa3cc04e0ac832b7.tar.xz |
config: s/BFS_FORMATTER/attr_format/
Diffstat (limited to 'src/opt.c')
-rw-r--r-- | src/opt.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -305,7 +305,7 @@ struct opt_state { }; /** Log an optimization. */ -BFS_FORMATTER(3, 4) +attr_format(3, 4) static bool opt_debug(const struct opt_state *state, int level, const char *format, ...) { bfs_assert(state->ctx->optlevel >= level); @@ -321,7 +321,7 @@ static bool opt_debug(const struct opt_state *state, int level, const char *form } /** Warn about an expression. */ -BFS_FORMATTER(3, 4) +attr_format(3, 4) static void opt_warning(const struct opt_state *state, const struct bfs_expr *expr, const char *format, ...) { if (bfs_expr_warning(state->ctx, expr)) { va_list args; |