From 110f08e821170b49145d9877f371d01e4e0bcc2a Mon Sep 17 00:00:00 2001 From: Gao feng Date: Fri, 20 Jul 2012 12:47:20 +0100 Subject: [PATCH] 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 --- src/lxc/lxc_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.47.2