mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
util: xml: Unexport virXMLXPathContextNew
The function is now referenced only within util/virxml.c other callers should not use it directly. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
ed03de9e46
commit
5def8f7577
@ -3690,7 +3690,6 @@ virXMLValidateAgainstSchema;
|
||||
virXMLValidatorFree;
|
||||
virXMLValidatorInit;
|
||||
virXMLValidatorValidate;
|
||||
virXMLXPathContextNew;
|
||||
virXPathBoolean;
|
||||
virXPathContextNodeRestore;
|
||||
virXPathInt;
|
||||
|
@ -48,7 +48,7 @@ struct virParserData {
|
||||
};
|
||||
|
||||
|
||||
xmlXPathContextPtr
|
||||
static xmlXPathContextPtr
|
||||
virXMLXPathContextNew(xmlDocPtr xml)
|
||||
{
|
||||
xmlXPathContextPtr ctxt;
|
||||
|
@ -30,10 +30,6 @@
|
||||
#include "virbuffer.h"
|
||||
#include "virenum.h"
|
||||
|
||||
xmlXPathContextPtr virXMLXPathContextNew(xmlDocPtr xml)
|
||||
G_GNUC_WARN_UNUSED_RESULT;
|
||||
|
||||
|
||||
typedef enum {
|
||||
VIR_XML_PROP_NONE = 0,
|
||||
VIR_XML_PROP_REQUIRED = 1 << 0, /* Attribute may not be absent */
|
||||
|
Loading…
Reference in New Issue
Block a user