Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/libvirt_private.syms | 1 -
src/util/virxml.c | 22 ----------------------
src/util/virxml.h | 4 ----
3 files changed, 27 deletions(-)
diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
index 7150e87c38..c6445dedcb 100644
--- a/src/libvirt_private.syms
+++ b/src/libvirt_private.syms
@@ -3694,7 +3694,6 @@ virXPathBoolean;
virXPathContextNodeRestore;
virXPathInt;
virXPathLong;
-virXPathLongHex;
virXPathLongLong;
virXPathNode;
virXPathNodeSet;
diff --git a/src/util/virxml.c b/src/util/virxml.c
index 16e7ef9808..e771471dd7 100644
--- a/src/util/virxml.c
+++ b/src/util/virxml.c
@@ -173,28 +173,6 @@ virXPathLong(const char *xpath,
}
-/**
- * virXPathLongHex:
- * @xpath: the XPath string to evaluate
- * @ctxt: an XPath context
- * @value: the returned long value
- *
- * Convenience function to evaluate an XPath number
- * according to a base of 16
- *
- * Returns 0 in case of success in which case @value is set,
- * or -1 if the XPath evaluation failed or -2 if the
- * value doesn't have a long format.
- */
-int
-virXPathLongHex(const char *xpath,
- xmlXPathContextPtr ctxt,
- long *value)
-{
- return virXPathLongBase(xpath, ctxt, 16, value);
-}
-
-
static int
virXPathULongBase(const char *xpath,
xmlXPathContextPtr ctxt,
diff --git a/src/util/virxml.h b/src/util/virxml.h
index 8a03077695..fe07e2d223 100644
--- a/src/util/virxml.h
+++ b/src/util/virxml.h
@@ -71,10 +71,6 @@ virXPathLongLong(const char *xpath,
xmlXPathContextPtr ctxt,
long long *value);
int
-virXPathLongHex(const char *xpath,
- xmlXPathContextPtr ctxt,
- long *value);
-int
virXPathULongHex(const char *xpath,
xmlXPathContextPtr ctxt,
unsigned long *value);
--
2.37.3