summaryrefslogtreecommitdiffstats
path: root/src/dstring.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-11-22 09:33:49 -0500
committerTavian Barnes <tavianator@tavianator.com>2023-12-18 15:37:20 -0500
commita85fc263a89fb89bc8b2a8166747660a177b1773 (patch)
tree128645d8fb4bdfe0829420c132d8f319bc319a14 /src/dstring.h
parent5b38f658ee42bef05cecb6cadec65b25d9e94993 (diff)
downloadbfs-a85fc263a89fb89bc8b2a8166747660a177b1773.tar.xz
config: s/attr_format/attr_printf/
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 1be1185..6006199 100644
--- a/src/dstring.h
+++ b/src/dstring.h
@@ -243,7 +243,7 @@ int dstrxcpy(dchar **dest, const char *str, size_t len);
* @return
* The created string, or NULL on failure.
*/
-attr(format(1, 2))
+attr(printf(1, 2))
char *dstrprintf(const char *format, ...);
/**
@@ -256,7 +256,7 @@ char *dstrprintf(const char *format, ...);
* @return
* The created string, or NULL on failure.
*/
-attr(format(1, 0))
+attr(printf(1, 0))
char *dstrvprintf(const char *format, va_list args);
/**
@@ -271,7 +271,7 @@ char *dstrvprintf(const char *format, va_list args);
* @return
* 0 on success, -1 on failure.
*/
-attr(format(2, 3))
+attr(printf(2, 3))
int dstrcatf(dchar **str, const char *format, ...);
/**
@@ -286,7 +286,7 @@ int dstrcatf(dchar **str, const char *format, ...);
* @return
* 0 on success, -1 on failure.
*/
-attr(format(2, 0))
+attr(printf(2, 0))
int dstrvcatf(dchar **str, const char *format, va_list args);
/**