diff options
Diffstat (limited to 'src/bytearray.h')
| -rw-r--r-- | src/bytearray.h | 7 |
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 | ||
| 26 | typedef struct bytearray_t { | 25 | typedef 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(); | 31 | bytearray_t *byte_array_new(); |
| 33 | _PLIST_INTERNAL void byte_array_free(bytearray_t *ba); | 32 | void byte_array_free(bytearray_t *ba); |
| 34 | _PLIST_INTERNAL void byte_array_append(bytearray_t *ba, void *buf, size_t len); | 33 | void byte_array_append(bytearray_t *ba, void *buf, size_t len); |
| 35 | 34 | ||
| 36 | #endif | 35 | #endif |
