summaryrefslogtreecommitdiffstats
path: root/src/bplist.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2023-05-13 19:53:26 +0200
committerGravatar Nikias Bassen2023-05-13 19:53:26 +0200
commit91c0aa8fa82d3fb42c64b0e46bfa861cada5e47d (patch)
tree41d3ff96c3dfcd46b5172db9bd418dd62cb780f9 /src/bplist.c
parent834bb313405bce621610862e76891377ab6601d5 (diff)
downloadlibplist-91c0aa8fa82d3fb42c64b0e46bfa861cada5e47d.tar.gz
libplist-91c0aa8fa82d3fb42c64b0e46bfa861cada5e47d.tar.bz2
Move PLIST_API to the headers
Diffstat (limited to 'src/bplist.c')
-rw-r--r--src/bplist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bplist.c b/src/bplist.c
index e9b71eb..840e40c 100644
--- a/src/bplist.c
+++ b/src/bplist.c
@@ -781,7 +781,7 @@ static plist_t parse_bin_node_at_index(struct bplist_data *bplist, uint32_t node
return plist;
}
-PLIST_API plist_err_t plist_from_bin(const char *plist_bin, uint32_t length, plist_t * plist)
+plist_err_t plist_from_bin(const char *plist_bin, uint32_t length, plist_t * plist)
{
bplist_trailer_t *trailer = NULL;
uint8_t offset_size = 0;
@@ -1191,7 +1191,7 @@ static int is_ascii_string(char* s, int len)
return ret;
}
-PLIST_API plist_err_t plist_to_bin(plist_t plist, char **plist_bin, uint32_t * length)
+plist_err_t plist_to_bin(plist_t plist, char **plist_bin, uint32_t * length)
{
ptrarray_t* objects = NULL;
hashtable_t* ref_table = NULL;