diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-05-08 16:18:40 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-05-08 16:18:40 -0400 |
commit | 5df27fb8b870b70d7411a4da57be668c1f73c29c (patch) | |
tree | 18de59b6e6f1b10058cb3c730b8d836bd6dc14ac /src/dstring.h | |
parent | c5cf2cf90834f2f56b2940d2a499a1a614ebfd21 (diff) | |
download | bfs-5df27fb8b870b70d7411a4da57be668c1f73c29c.tar.xz |
dstring: Make dstrprintf() return dchar *
Diffstat (limited to 'src/dstring.h')
-rw-r--r-- | src/dstring.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dstring.h b/src/dstring.h index 9ea7eb9..14e1d3e 100644 --- a/src/dstring.h +++ b/src/dstring.h @@ -244,7 +244,7 @@ int dstrxcpy(dchar **dest, const char *str, size_t len); * The created string, or NULL on failure. */ attr(printf(1, 2)) -char *dstrprintf(const char *format, ...); +dchar *dstrprintf(const char *format, ...); /** * Create a dynamic string from a format string and a va_list. @@ -257,7 +257,7 @@ char *dstrprintf(const char *format, ...); * The created string, or NULL on failure. */ attr(printf(1, 0)) -char *dstrvprintf(const char *format, va_list args); +dchar *dstrvprintf(const char *format, va_list args); /** * Format some text onto the end of a dynamic string. |