summaryrefslogtreecommitdiffstats
path: root/src/cbuf.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2024-01-30 11:30:12 +0100
committerGravatar Nikias Bassen2024-01-30 11:30:12 +0100
commit7ddaea319550bd44bb295f935bef038a1ac37c3f (patch)
tree12c590e42fb3d367b7b9fb00a035cd03b4175602 /src/cbuf.c
parent2d517ebcebe326e79186e41ee7bbd1cf5ed1f2b9 (diff)
downloadlibimobiledevice-glue-7ddaea319550bd44bb295f935bef038a1ac37c3f.tar.gz
libimobiledevice-glue-7ddaea319550bd44bb295f935bef038a1ac37c3f.tar.bz2
Move LIMD_GLUE_API definitions to public headers
Diffstat (limited to 'src/cbuf.c')
-rw-r--r--src/cbuf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cbuf.c b/src/cbuf.c
index c7c931f..0beeb2a 100644
--- a/src/cbuf.c
+++ b/src/cbuf.c
@@ -30,7 +30,7 @@
#include "common.h"
#include "libimobiledevice-glue/cbuf.h"
-LIBIMOBILEDEVICE_GLUE_API struct char_buf* char_buf_new()
+struct char_buf* char_buf_new()
{
struct char_buf* cbuf = (struct char_buf*)malloc(sizeof(struct char_buf));
cbuf->capacity = 256;
@@ -39,7 +39,7 @@ LIBIMOBILEDEVICE_GLUE_API struct char_buf* char_buf_new()
return cbuf;
}
-LIBIMOBILEDEVICE_GLUE_API void char_buf_free(struct char_buf* cbuf)
+void char_buf_free(struct char_buf* cbuf)
{
if (cbuf) {
free(cbuf->data);
@@ -47,7 +47,7 @@ LIBIMOBILEDEVICE_GLUE_API void char_buf_free(struct char_buf* cbuf)
}
}
-LIBIMOBILEDEVICE_GLUE_API void char_buf_append(struct char_buf* cbuf, unsigned int length, unsigned char* data)
+void char_buf_append(struct char_buf* cbuf, unsigned int length, unsigned char* data)
{
if (!cbuf || !cbuf->data) {
return;