The function isn't used outside of src/conf/snapshot_conf.c Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx> --- src/conf/snapshot_conf.c | 2 +- src/conf/snapshot_conf.h | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/conf/snapshot_conf.c b/src/conf/snapshot_conf.c index be5deadc8c..1d61f93b65 100644 --- a/src/conf/snapshot_conf.c +++ b/src/conf/snapshot_conf.c @@ -466,7 +466,7 @@ virDomainSnapshotDefParseString(const char *xmlStr, /* Perform sanity checking on a redefined snapshot definition. If * @other is non-NULL, this may include swapping def->parent.dom from other * into def. */ -int +static int virDomainSnapshotRedefineValidate(virDomainSnapshotDef *def, const unsigned char *domain_uuid, virDomainMomentObj *other, diff --git a/src/conf/snapshot_conf.h b/src/conf/snapshot_conf.h index 446d0870f4..b04163efae 100644 --- a/src/conf/snapshot_conf.h +++ b/src/conf/snapshot_conf.h @@ -139,11 +139,5 @@ int virDomainSnapshotRedefinePrep(virDomainObj *vm, virDomainXMLOption *xmlopt, unsigned int flags); -int virDomainSnapshotRedefineValidate(virDomainSnapshotDef *def, - const unsigned char *domain_uuid, - virDomainMomentObj *other, - virDomainXMLOption *xmlopt, - unsigned int flags); - VIR_ENUM_DECL(virDomainSnapshotLocation); VIR_ENUM_DECL(virDomainSnapshotState); -- 2.31.1