diff options
| author | 2014-10-03 15:39:47 +0200 | |
|---|---|---|
| committer | 2014-10-03 15:39:47 +0200 | |
| commit | 62813daf2c4aaec675652d9c1131a58dfa634e38 (patch) | |
| tree | 4427398d97f1295996410fc3dbf86c6de8bf873c /src/bytearray.h | |
| parent | eab599c151617eef9035343fd63591fa4d09bd3e (diff) | |
| download | libplist-62813daf2c4aaec675652d9c1131a58dfa634e38.tar.gz libplist-62813daf2c4aaec675652d9c1131a58dfa634e38.tar.bz2 | |
Avoid exporting non-public symbols
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 |
