From ff536344bc04ab9ec3763968b82997d07312acd6 Mon Sep 17 00:00:00 2001 From: Jonathan Beck Date: Tue, 10 Nov 2009 23:37:43 +0100 Subject: Remove deprecated functions from API. --- test/plist_cmp.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'test/plist_cmp.c') diff --git a/test/plist_cmp.c b/test/plist_cmp.c index 709e8d0..dcf961f 100644 --- a/test/plist_cmp.c +++ b/test/plist_cmp.c @@ -27,10 +27,27 @@ #include #include +#include + #ifdef _MSC_VER #pragma warning(disable:4996) #endif +static plist_t plist_get_first_child(plist_t node) +{ + return (plist_t) g_node_first_child((GNode *) node); +} + +static plist_t plist_get_next_sibling(plist_t node) +{ + return (plist_t) g_node_next_sibling((GNode *) node); +} + +static plist_t plist_get_prev_sibling(plist_t node) +{ + return (plist_t) g_node_prev_sibling((GNode *) node); +} + char compare_plist(plist_t node_l, plist_t node_r) { plist_t cur_l = NULL; -- cgit v1.1-32-gdbae