diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-01-07 13:03:58 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-01-07 13:03:58 +0100 |
| commit | b812d77ede9b448088279d393460cfa147aa7fc6 (patch) | |
| tree | bbcdc076974a726bbff09ea7abe4fea34f7ea699 /buffer.h | |
| parent | c71760a7e1867a3d1d528811c3b5c305dfdab3d1 (diff) | |
| download | vis-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.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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 */ |
