[PATCH v2 6/8] qemu: Make qemuGetMemoryBackingDomainPath static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



After previous patches it is not used (and should not be used) outside
of qemu_domain.c.

Signed-off-by: Martin Kletzander <mkletzan@xxxxxxxxxx>
---
 src/qemu/qemu_domain.c | 2 +-
 src/qemu/qemu_domain.h | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
index 3e80313ab748..a92eaef80af0 100644
--- a/src/qemu/qemu_domain.c
+++ b/src/qemu/qemu_domain.c
@@ -1735,7 +1735,7 @@ qemuDomainSecretPrepare(virQEMUDriver *driver,
 }
 
 
-int
+static int
 qemuGetMemoryBackingDomainPath(qemuDomainObjPrivate *priv,
                                const virDomainDef *def,
                                char **path)
diff --git a/src/qemu/qemu_domain.h b/src/qemu/qemu_domain.h
index dcff4272b869..cb42577ee51a 100644
--- a/src/qemu/qemu_domain.h
+++ b/src/qemu/qemu_domain.h
@@ -939,10 +939,6 @@ void qemuDomainCleanupStorageSourceFD(virStorageSource *src);
 void qemuDomainStartupCleanup(virDomainObj *vm);
 
 
-int qemuGetMemoryBackingDomainPath(qemuDomainObjPrivate *priv,
-                                   const virDomainDef *def,
-                                   char **path);
-
 int qemuGetMemoryBackingPath(qemuDomainObjPrivate *priv,
                              const char *alias,
                              char **memPath);
-- 
2.46.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux