diff options
| author | 2023-05-13 19:53:26 +0200 | |
|---|---|---|
| committer | 2023-05-13 19:53:26 +0200 | |
| commit | 91c0aa8fa82d3fb42c64b0e46bfa861cada5e47d (patch) | |
| tree | 41d3ff96c3dfcd46b5172db9bd418dd62cb780f9 /src/oplist.c | |
| parent | 834bb313405bce621610862e76891377ab6601d5 (diff) | |
| download | libplist-91c0aa8fa82d3fb42c64b0e46bfa861cada5e47d.tar.gz libplist-91c0aa8fa82d3fb42c64b0e46bfa861cada5e47d.tar.bz2 | |
Move PLIST_API to the headers
Diffstat (limited to 'src/oplist.c')
| -rw-r--r-- | src/oplist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/oplist.c b/src/oplist.c index 2c7d26c..74c4e0a 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 | |||
| 442 | return PLIST_ERR_SUCCESS; | 442 | return PLIST_ERR_SUCCESS; |
| 443 | } | 443 | } |
| 444 | 444 | ||
| 445 | PLIST_API int plist_to_openstep(plist_t plist, char **openstep, uint32_t* length, int prettify) | 445 | int plist_to_openstep(plist_t plist, char **openstep, uint32_t* length, int prettify) |
| 446 | { | 446 | { |
| 447 | uint64_t size = 0; | 447 | uint64_t size = 0; |
| 448 | int res; | 448 | int res; |
| @@ -895,7 +895,7 @@ err_out: | |||
| 895 | return PLIST_ERR_SUCCESS; | 895 | return PLIST_ERR_SUCCESS; |
| 896 | } | 896 | } |
| 897 | 897 | ||
| 898 | PLIST_API int plist_from_openstep(const char *plist_ostep, uint32_t length, plist_t * plist) | 898 | int plist_from_openstep(const char *plist_ostep, uint32_t length, plist_t * plist) |
| 899 | { | 899 | { |
| 900 | if (!plist) { | 900 | if (!plist) { |
| 901 | return PLIST_ERR_INVALID_ARG; | 901 | return PLIST_ERR_INVALID_ARG; |
