From: Gao feng Date: Fri, 20 Jul 2012 11:47:20 +0000 (+0100) Subject: Make the 'lxc_driver' global variable non-static X-Git-Tag: CVE-2012-3445~107 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=110f08e821170b49145d9877f371d01e4e0bcc2a;p=thirdparty%2Flibvirt.git Make the 'lxc_driver' global variable non-static 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 --- diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c index d7f052f57b..09c64b28e2 100644 --- a/src/lxc/lxc_driver.c +++ b/src/lxc/lxc_driver.c @@ -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 */