summaryrefslogtreecommitdiffstats
path: root/src/oplist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/oplist.c')
-rw-r--r--src/oplist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/oplist.c b/src/oplist.c
index b2395a4..7597b3c 100644
--- a/src/oplist.c
+++ b/src/oplist.c
@@ -442,7 +442,7 @@ static int node_estimate_size(node_t node, uint64_t *size, uint32_t depth, int p
return PLIST_ERR_SUCCESS;
}
-int plist_to_openstep(plist_t plist, char **openstep, uint32_t* length, int prettify)
+plist_err_t plist_to_openstep(plist_t plist, char **openstep, uint32_t* length, int prettify)
{
uint64_t size = 0;
int res;
@@ -895,7 +895,7 @@ err_out:
return PLIST_ERR_SUCCESS;
}
-int plist_from_openstep(const char *plist_ostep, uint32_t length, plist_t * plist)
+plist_err_t plist_from_openstep(const char *plist_ostep, uint32_t length, plist_t * plist)
{
if (!plist) {
return PLIST_ERR_INVALID_ARG;