summaryrefslogtreecommitdiffstats
path: root/src/xplist.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-10-03 15:39:47 +0200
committerGravatar Nikias Bassen2014-10-03 15:39:47 +0200
commit62813daf2c4aaec675652d9c1131a58dfa634e38 (patch)
tree4427398d97f1295996410fc3dbf86c6de8bf873c /src/xplist.c
parenteab599c151617eef9035343fd63591fa4d09bd3e (diff)
downloadlibplist-62813daf2c4aaec675652d9c1131a58dfa634e38.tar.gz
libplist-62813daf2c4aaec675652d9c1131a58dfa634e38.tar.bz2
Avoid exporting non-public symbols
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 a889cb5..4c106aa 100644
--- a/src/xplist.c
+++ b/src/xplist.c
@@ -513,7 +513,7 @@ static void xml_to_node(xmlNodePtr xml_node, plist_t * plist_node)
}
}
-void plist_to_xml(plist_t plist, char **plist_xml, uint32_t * length)
+PLIST_API void plist_to_xml(plist_t plist, char **plist_xml, uint32_t * length)
{
xmlDocPtr plist_doc = NULL;
xmlNodePtr root_node = NULL;
@@ -555,7 +555,7 @@ void plist_to_xml(plist_t plist, char **plist_xml, uint32_t * length)
}
}
-void plist_from_xml(const char *plist_xml, uint32_t length, plist_t * plist)
+PLIST_API void plist_from_xml(const char *plist_xml, uint32_t length, plist_t * plist)
{
xmlDocPtr plist_doc = xmlParseMemory(plist_xml, length);
xmlNodePtr root_node = xmlDocGetRootElement(plist_doc);