summaryrefslogtreecommitdiffstats
path: root/src/config.h
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/config.h
parentb5b1e98a66aef5b64409e3d02149733bf3f475fb (diff)
downloadbfs-026e8fbd248561396752552efa3cc04e0ac832b7.tar.xz
config: s/BFS_FORMATTER/attr_format/
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.h b/src/config.h
index e11941a..f19677c 100644
--- a/src/config.h
+++ b/src/config.h
@@ -188,9 +188,9 @@
* Adds compiler warnings for bad printf()-style function calls, if supported.
*/
#if __has_attribute(format)
-# define BFS_FORMATTER(fmt, args) __attribute__((format(printf, fmt, args)))
+# define attr_format(fmt, args) __attribute__((format(printf, fmt, args)))
#else
-# define BFS_FORMATTER(fmt, args)
+# define attr_format(fmt, args)
#endif
/**