summaryrefslogtreecommitdiffstats
path: root/src/bytearray.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bytearray.h')
-rw-r--r--src/bytearray.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/bytearray.h b/src/bytearray.h
index 3e67d7e..1613143 100644
--- a/src/bytearray.h
+++ b/src/bytearray.h
@@ -21,7 +21,6 @@
21#ifndef BYTEARRAY_H 21#ifndef BYTEARRAY_H
22#define BYTEARRAY_H 22#define BYTEARRAY_H
23#include <stdlib.h> 23#include <stdlib.h>
24#include "common.h"
25 24
26typedef struct bytearray_t { 25typedef struct bytearray_t {
27 void *data; 26 void *data;
@@ -29,8 +28,8 @@ typedef struct bytearray_t {
29 size_t capacity; 28 size_t capacity;
30} bytearray_t; 29} bytearray_t;
31 30
32_PLIST_INTERNAL bytearray_t *byte_array_new(); 31bytearray_t *byte_array_new();
33_PLIST_INTERNAL void byte_array_free(bytearray_t *ba); 32void byte_array_free(bytearray_t *ba);
34_PLIST_INTERNAL void byte_array_append(bytearray_t *ba, void *buf, size_t len); 33void byte_array_append(bytearray_t *ba, void *buf, size_t len);
35 34
36#endif 35#endif