It's not used outside of src/conf/domain_conf.c
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/conf/domain_conf.c | 2 +-
src/conf/domain_conf.h | 10 ----------
src/libvirt_private.syms | 1 -
3 files changed, 1 insertion(+), 12 deletions(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 9f1f46c905..32f6d88596 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -23772,7 +23772,7 @@ virDomainDiskSourceFormatPrivateData(virBufferPtr buf,
* Note that this does _not_ format the 'type' and 'format' of @src due
to
* differences in callers.
*/
-int
+static int
virDomainStorageSourceFormat(virBufferPtr attrBuf,
virBufferPtr childBuf,
virStorageSourcePtr src,
diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h
index 547ce8c5b9..51e0757f5c 100644
--- a/src/conf/domain_conf.h
+++ b/src/conf/domain_conf.h
@@ -3457,16 +3457,6 @@ int virDomainDiskDefCheckDuplicateInfo(const virDomainDiskDef *a,
const virDomainDiskDef *b)
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2);
-int virDomainStorageSourceFormat(virBufferPtr attrBuf,
- virBufferPtr childBuf,
- virStorageSourcePtr src,
- unsigned int flags,
- bool seclabels,
- bool attrIndex,
- int policy,
- virDomainXMLOptionPtr xmlopt)
- ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(3);
-
int
virDomainStorageSourceFormatFull(virBufferPtr buf,
virStorageSourcePtr src,
diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
index 5b031ff877..010c8ac481 100644
--- a/src/libvirt_private.syms
+++ b/src/libvirt_private.syms
@@ -563,7 +563,6 @@ virDomainStateReasonToString;
virDomainStateTypeFromString;
virDomainStateTypeToString;
virDomainStorageNetworkParseHost;
-virDomainStorageSourceFormat;
virDomainStorageSourceFormatFull;
virDomainStorageSourceParse;
virDomainTaintTypeFromString;
--
2.20.1