summaryrefslogtreecommitdiffstats
path: root/src/xplist.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/xplist.c
parent834bb313405bce621610862e76891377ab6601d5 (diff)
downloadlibplist-91c0aa8fa82d3fb42c64b0e46bfa861cada5e47d.tar.gz
libplist-91c0aa8fa82d3fb42c64b0e46bfa861cada5e47d.tar.bz2
Move PLIST_API to the headers
Diffstat (limited to 'src/xplist.c')
-rw-r--r--src/xplist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xplist.c b/src/xplist.c
index a0ab6d3..481da5d 100644
--- a/src/xplist.c
+++ b/src/xplist.c
@@ -529,7 +529,7 @@ static int node_estimate_size(node_t node, uint64_t *size, uint32_t depth)
return PLIST_ERR_SUCCESS;
}
-PLIST_API plist_err_t plist_to_xml(plist_t plist, char **plist_xml, uint32_t * length)
+plist_err_t plist_to_xml(plist_t plist, char **plist_xml, uint32_t * length)
{
uint64_t size = 0;
int res;
@@ -1471,7 +1471,7 @@ err_out:
return PLIST_ERR_SUCCESS;
}
-PLIST_API plist_err_t plist_from_xml(const char *plist_xml, uint32_t length, plist_t * plist)
+plist_err_t plist_from_xml(const char *plist_xml, uint32_t length, plist_t * plist)
{
if (!plist) {
return PLIST_ERR_INVALID_ARG;