summaryrefslogtreecommitdiffstats
path: root/src/plist.c
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2009-01-29 19:20:40 +0100
committerGravatar Jonathan Beck2009-01-29 19:20:40 +0100
commit8c2751f8c7e696fca895aebfafc7e668f3afe85c (patch)
treef01974f6f20b4d2fe53972d67eb4b7d7c588e035 /src/plist.c
parent23b1e3200833dd79d754e7057ad1a4154f15172e (diff)
downloadlibplist-8c2751f8c7e696fca895aebfafc7e668f3afe85c.tar.gz
libplist-8c2751f8c7e696fca895aebfafc7e668f3afe85c.tar.bz2
Add some static declarations.
Diffstat (limited to 'src/plist.c')
-rw-r--r--src/plist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plist.c b/src/plist.c
index 5fc2338..f315e7e 100644
--- a/src/plist.c
+++ b/src/plist.c
@@ -71,7 +71,7 @@ plist_t plist_new_array()
return plist_new_node(data);
}
-plist_t plist_add_sub_element(plist_t node, plist_type type, const void *value, uint64_t length)
+static plist_t plist_add_sub_element(plist_t node, plist_type type, const void *value, uint64_t length)
{
//only structured types can have children
plist_type node_type = plist_get_node_type(node);
@@ -172,7 +172,7 @@ static char compare_node_value(plist_type type, plist_data_t data, const void *v
return res;
}
-plist_t plist_find_node(plist_t plist, plist_type type, const void *value, uint64_t length)
+static plist_t plist_find_node(plist_t plist, plist_type type, const void *value, uint64_t length)
{
if (!plist)
return NULL;
@@ -204,7 +204,7 @@ plist_t plist_find_node_by_string(plist_t plist, const char *value)
return plist_find_node(plist, PLIST_STRING, value, strlen(value));
}
-void plist_get_type_and_value(plist_t node, plist_type * type, void *value, uint64_t * length)
+static void plist_get_type_and_value(plist_t node, plist_type * type, void *value, uint64_t * length)
{
if (!node)
return;