summaryrefslogtreecommitdiffstats
path: root/src/color.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-11-16 12:25:09 -0500
committerTavian Barnes <tavianator@tavianator.com>2023-12-18 15:37:20 -0500
commit5b38f658ee42bef05cecb6cadec65b25d9e94993 (patch)
tree7ee304714729b360a3d45658ca27358e03cd54e3 /src/color.h
parentfd91097055f095fdd827ef8751d9534f59a89404 (diff)
downloadbfs-5b38f658ee42bef05cecb6cadec65b25d9e94993.tar.xz
config: New variadic attr(...) macro
Diffstat (limited to 'src/color.h')
-rw-r--r--src/color.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/color.h b/src/color.h
index 8a81573..81f0e2a 100644
--- a/src/color.h
+++ b/src/color.h
@@ -100,13 +100,13 @@ int cfclose(CFILE *cfile);
* @return
* 0 on success, -1 on failure.
*/
-attr_format(2, 3)
+attr(format(2, 3))
int cfprintf(CFILE *cfile, const char *format, ...);
/**
* cfprintf() variant that takes a va_list.
*/
-attr_format(2, 0)
+attr(format(2, 0))
int cvfprintf(CFILE *cfile, const char *format, va_list args);
#endif // BFS_COLOR_H