aboutsummaryrefslogtreecommitdiff
path: root/buffer.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-01-07 13:03:58 +0100
committerMarc André Tanner <mat@brain-dump.org>2017-01-07 13:03:58 +0100
commitb812d77ede9b448088279d393460cfa147aa7fc6 (patch)
treebbcdc076974a726bbff09ea7abe4fea34f7ea699 /buffer.h
parentc71760a7e1867a3d1d528811c3b5c305dfdab3d1 (diff)
downloadvis-b812d77ede9b448088279d393460cfa147aa7fc6.tar.gz
vis-b812d77ede9b448088279d393460cfa147aa7fc6.tar.xz
buffer: remove redundant function
For some reason we ended up with two identical functions: buffer_{clear,terminate}.
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 */