aboutsummaryrefslogtreecommitdiff
path: root/buffer.h
diff options
context:
space:
mode:
authorRandy Palamar <randy@rnpnr.xyz>2025-01-11 23:10:24 -0700
committerRandy Palamar <randy@rnpnr.xyz>2025-01-11 23:27:47 -0700
commitabf6384cca0f80fe7dfb35a8e2281d8664d9d459 (patch)
treebc141b463e155b2170d2d70e9bb340614d76644d /buffer.h
parent72c26fc09af79ce217575a9b0f0d5058c336d5d7 (diff)
downloadvis-abf6384cca0f80fe7dfb35a8e2281d8664d9d459.tar.gz
vis-abf6384cca0f80fe7dfb35a8e2281d8664d9d459.tar.xz
buffer: delete pointless buffer_init function
lets not make the code harder to read for no reason
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 d9e2b85..a155163 100644
--- a/buffer.h
+++ b/buffer.h
@@ -20,8 +20,6 @@ typedef struct {
size_t size; /**< Maximal capacity of the buffer. */
} Buffer;
-/** Initialize a Buffer object. */
-void buffer_init(Buffer*);
/** Release all resources, reinitialize buffer. */
void buffer_release(Buffer*);
/** Set buffer length to zero, keep allocated memory. */