[PATCH v2 7/9] lxc: Remove unneeded forward declaration of 'lxcStateInitialize'

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

 



The function is used only after the definition.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 src/lxc/lxc_driver.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c
index e7c6c4fbc4..f2a358805a 100644
--- a/src/lxc/lxc_driver.c
+++ b/src/lxc/lxc_driver.c
@@ -79,10 +79,6 @@ VIR_LOG_INIT("lxc.lxc_driver");
 #define LXC_NB_DOMAIN_BLOCK_STAT_PARAM 4


-static int lxcStateInitialize(bool privileged,
-                              const char *root,
-                              virStateInhibitCallback callback,
-                              void *opaque);
 static int lxcStateCleanup(void);
 virLXCDriver *lxc_driver = NULL;

-- 
2.37.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