]> xenbits.xensource.com Git - libvirt.git/commitdiff
Make the 'lxc_driver' global variable non-static
authorGao feng <gaofeng@cn.fujitsu.com>
Fri, 20 Jul 2012 11:47:20 +0000 (12:47 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 20 Jul 2012 11:47:20 +0000 (12:47 +0100)
The 'lxc_driver' global variable is now used from several of
the LXC sources files. Thus it needs to be non-static to
avoid runtime linkage errors

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
src/lxc/lxc_driver.c

index d7f052f57b408c27f5c76335febb0c3c8c98a200..09c64b28e270e205ea057dad5c67dc682cedb663 100644 (file)
@@ -72,7 +72,7 @@
 
 static int lxcStartup(int privileged);
 static int lxcShutdown(void);
-static lxc_driver_t *lxc_driver = NULL;
+lxc_driver_t *lxc_driver = NULL;
 
 /* Functions */