From: Peter Krempa Date: Tue, 8 Jul 2014 13:53:41 +0000 (+0200) Subject: util: XML: Avoid forward function declaration X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=036dd423d4e9707510f0b8d70d37b932b1e405a3;p=people%2Fliuw%2Flibxenctrl-split%2Flibvirt.git util: XML: Avoid forward function declaration Recursive functions apparently don't need them, but I originally thought they do. --- diff --git a/src/util/virxml.c b/src/util/virxml.c index 34af64a01..cc4a85cbc 100644 --- a/src/util/virxml.c +++ b/src/util/virxml.c @@ -932,11 +932,6 @@ virXMLNodeToString(xmlDocPtr doc, typedef int (*virXMLForeachCallback)(xmlNodePtr node, void *opaque); -static int -virXMLForeachNode(xmlNodePtr root, - virXMLForeachCallback cb, - void *opaque); - static int virXMLForeachNode(xmlNodePtr root, virXMLForeachCallback cb,