aboutsummaryrefslogtreecommitdiff
path: root/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'buffer.h')
-rw-r--r--buffer.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/buffer.h b/buffer.h
index 6920468..ff20fa5 100644
--- a/buffer.h
+++ b/buffer.h
@@ -46,8 +46,6 @@ bool buffer_append0(Buffer*, const char *data);
bool buffer_prepend(Buffer*, const void *data, size_t len);
/** Insert NUL-terminated data at the start. */
bool buffer_prepend0(Buffer*, const char *data);
-/** Set formatted buffer content, ensures NUL termination on success. */
-bool buffer_printf(Buffer*, const char *fmt, ...) __attribute__((format(printf, 2, 3)));
/** Append formatted buffer content, ensures NUL termination on success. */
bool buffer_appendf(Buffer*, const char *fmt, ...) __attribute__((format(printf, 2, 3)));
/** Return length of a buffer without trailing NUL byte. */