1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-20 07:59:00 +00:00

util: xml: Remove unused 'virXPathLongHex'

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Peter Krempa 2022-10-04 16:18:16 +02:00
parent 426a0b3779
commit a3f7165889
3 changed files with 0 additions and 27 deletions

View File

@ -3694,7 +3694,6 @@ virXPathBoolean;
virXPathContextNodeRestore;
virXPathInt;
virXPathLong;
virXPathLongHex;
virXPathLongLong;
virXPathNode;
virXPathNodeSet;

View File

@ -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,

View File

@ -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);