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:
parent
426a0b3779
commit
a3f7165889
@ -3694,7 +3694,6 @@ virXPathBoolean;
|
||||
virXPathContextNodeRestore;
|
||||
virXPathInt;
|
||||
virXPathLong;
|
||||
virXPathLongHex;
|
||||
virXPathLongLong;
|
||||
virXPathNode;
|
||||
virXPathNodeSet;
|
||||
|
@ -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,
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user