]> xenbits.xensource.com Git - libvirt.git/commitdiff
lxc: Remove unneeded forward declaration of 'lxcStateInitialize'
authorPeter Krempa <pkrempa@redhat.com>
Fri, 9 Sep 2022 11:05:14 +0000 (13:05 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 13 Sep 2022 08:50:02 +0000 (10:50 +0200)
The function is used only after the definition.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/lxc/lxc_driver.c

index e7c6c4fbc45f4f14eaddb20b1357c5023789d02a..f2a358805aaf20565cf18c72f068851e27698c38 100644 (file)
@@ -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;