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 1bb20d7..55ebb7d 100644
--- a/buffer.h
+++ b/buffer.h
@@ -20,8 +20,6 @@ void buffer_release(Buffer*);
void buffer_clear(Buffer*);
/* reserve space to store at least size bytes in this buffer.*/
bool buffer_grow(Buffer*, size_t size);
-/* truncate buffer, but keep associated memory region for further data */
-void buffer_truncate(Buffer*);
/* if buffer is not empty, make sure it is NUL terminated */
bool buffer_terminate(Buffer*);
/* replace buffer content with given data, growing the buffer if needed */