diff options
author | Gao feng <gaofeng@cn.fujitsu.com> | 2012-07-20 12:47:20 +0100 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2012-07-20 12:47:20 +0100 |
commit | 110f08e821170b49145d9877f371d01e4e0bcc2a (patch) | |
tree | 07c2a467439e540ea04bb6c8f77bcf2d52a012be /src/lxc | |
parent | Replace use of streamsReportError with virReportError (diff) | |
download | libvirt-110f08e821170b49145d9877f371d01e4e0bcc2a.tar.gz libvirt-110f08e821170b49145d9877f371d01e4e0bcc2a.tar.bz2 libvirt-110f08e821170b49145d9877f371d01e4e0bcc2a.zip |
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 <gaofeng@cn.fujitsu.com>
Diffstat (limited to 'src/lxc')
-rw-r--r-- | src/lxc/lxc_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c index d7f052f57..09c64b28e 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 */ |