From 7ddaea319550bd44bb295f935bef038a1ac37c3f Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 30 Jan 2024 11:30:12 +0100 Subject: Move LIMD_GLUE_API definitions to public headers --- src/opack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/opack.c') diff --git a/src/opack.c b/src/opack.c index 9c4ba55..8a9264a 100644 --- a/src/opack.c +++ b/src/opack.c @@ -237,7 +237,7 @@ static void opack_encode_node(plist_t node, struct char_buf* cbuf) } } -LIBIMOBILEDEVICE_GLUE_API void opack_encode_from_plist(plist_t plist, unsigned char** out, unsigned int* out_len) +void opack_encode_from_plist(plist_t plist, unsigned char** out, unsigned int* out_len) { if (!plist || !out || !out_len) { return; @@ -462,7 +462,7 @@ static int opack_decode_obj(unsigned char** p, unsigned char* end, plist_t* plis return 0; } -LIBIMOBILEDEVICE_GLUE_API int opack_decode_to_plist(unsigned char* buf, unsigned int buf_len, plist_t* plist_out) +int opack_decode_to_plist(unsigned char* buf, unsigned int buf_len, plist_t* plist_out) { if (!buf || buf_len == 0 || !plist_out) { return -1; -- cgit v1.1-32-gdbae