summaryrefslogtreecommitdiffstats
path: root/src/dstring.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/dstring.h
parentb5b1e98a66aef5b64409e3d02149733bf3f475fb (diff)
downloadbfs-026e8fbd248561396752552efa3cc04e0ac832b7.tar.xz
config: s/BFS_FORMATTER/attr_format/
Diffstat (limited to 'src/dstring.h')
-rw-r--r--src/dstring.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dstring.h b/src/dstring.h
index 6496a4f..fd98df8 100644
--- a/src/dstring.h
+++ b/src/dstring.h
@@ -230,7 +230,7 @@ int dstrxcpy(dchar **dest, const char *str, size_t len);
* @return
* The created string, or NULL on failure.
*/
-BFS_FORMATTER(1, 2)
+attr_format(1, 2)
char *dstrprintf(const char *format, ...);
/**
@@ -243,7 +243,7 @@ char *dstrprintf(const char *format, ...);
* @return
* The created string, or NULL on failure.
*/
-BFS_FORMATTER(1, 0)
+attr_format(1, 0)
char *dstrvprintf(const char *format, va_list args);
/**
@@ -258,7 +258,7 @@ char *dstrvprintf(const char *format, va_list args);
* @return
* 0 on success, -1 on failure.
*/
-BFS_FORMATTER(2, 3)
+attr_format(2, 3)
int dstrcatf(dchar **str, const char *format, ...);
/**
@@ -273,7 +273,7 @@ int dstrcatf(dchar **str, const char *format, ...);
* @return
* 0 on success, -1 on failure.
*/
-BFS_FORMATTER(2, 0)
+attr_format(2, 0)
int dstrvcatf(dchar **str, const char *format, va_list args);
/**