summaryrefslogtreecommitdiffstats
path: root/src/oplist.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2023-05-14 01:44:08 +0200
committerGravatar Nikias Bassen2023-05-14 01:44:08 +0200
commitb7d74590ebc1d7068867fdb29fafb9a934d02526 (patch)
treedabc123e03e592f7812016dd253621936a49c7fc /src/oplist.c
parentff0010080bbab16ec7b12b7f71e958d1e4f6f94b (diff)
downloadlibplist-b7d74590ebc1d7068867fdb29fafb9a934d02526.tar.gz
libplist-b7d74590ebc1d7068867fdb29fafb9a934d02526.tar.bz2
Make sure function signatures match their declarations in the public header
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;