summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plist.c2
-rw-r--r--src/plist.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plist.c b/src/plist.c
index 4d327e0..4cb6206 100644
--- a/src/plist.c
+++ b/src/plist.c
@@ -195,7 +195,7 @@ plist_t plist_new_node(plist_data_t data)
return (plist_t) node_create(NULL, data);
}
-plist_data_t plist_get_data(const plist_t node)
+plist_data_t plist_get_data(plist_t node)
{
if (!node)
return NULL;
diff --git a/src/plist.h b/src/plist.h
index 7bf62a8..95d2a3e 100644
--- a/src/plist.h
+++ b/src/plist.h
@@ -65,7 +65,7 @@ struct plist_data_s
typedef struct plist_data_s *plist_data_t;
plist_t plist_new_node(plist_data_t data);
-plist_data_t plist_get_data(const plist_t node);
+plist_data_t plist_get_data(plist_t node);
plist_data_t plist_new_plist_data(void);
void plist_free_data(plist_data_t data);
int plist_data_compare(const void *a, const void *b);