diff options
Diffstat (limited to 'src/buffer.h')
-rw-r--r-- | src/buffer.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/buffer.h b/src/buffer.h index 67e1bf7..bbcda9a 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -10,7 +10,7 @@ typedef struct { size_t size; } growable_buffer; -bool init_growable_buffer(growable_buffer *buffer); +void init_growable_buffer(growable_buffer *buffer); char *grow_growable_buffer(growable_buffer *buffer, size_t at_least); void append_growable_buffer(growable_buffer *buffer, char* content, size_t length); void free_growable_buffer(growable_buffer *buffer); @@ -21,7 +21,6 @@ typedef struct { size_t size; } fixed_buffer; -bool init_fixed_buffer(fixed_buffer *buffer, char *orig); -void free_fixed_buffer(fixed_buffer *buffer); +void init_fixed_buffer(fixed_buffer *buffer, char *orig); #endif // BUFFER_H |