]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: Make qemuGetMemoryBackingDomainPath static
authorMartin Kletzander <mkletzan@redhat.com>
Mon, 23 Sep 2024 08:15:47 +0000 (10:15 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 24 Sep 2024 08:12:08 +0000 (10:12 +0200)
After previous patches it is not used (and should not be used) outside
of qemu_domain.c.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h

index 3e80313ab7488ce44d6160522d2711617f79b989..a92eaef80af026d846c5cbc09a8cd1b4082e69f2 100644 (file)
@@ -1735,7 +1735,7 @@ qemuDomainSecretPrepare(virQEMUDriver *driver,
 }
 
 
-int
+static int
 qemuGetMemoryBackingDomainPath(qemuDomainObjPrivate *priv,
                                const virDomainDef *def,
                                char **path)
index dcff4272b86916247fcb8f522c6873ec726e1407..cb42577ee51aa32b08782f1ebbc6a0733ce59950 100644 (file)
@@ -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);