mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Clean up global name space in examples and tests.
* docs/examples/suspend.c: Declare global "conn" to be static. * tests/qemuxml2argvtest.c: Declare global "driver" to be static. * tests/qemuxml2xmltest.c: Likewise. Author: Jim Meyering <meyering@redhat.com>
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
static char *progname;
|
||||
static char *abs_top_srcdir;
|
||||
struct qemud_driver driver;
|
||||
static struct qemud_driver driver;
|
||||
|
||||
#define MAX_FILE 4096
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
static char *progname;
|
||||
static char *abs_top_srcdir;
|
||||
struct qemud_driver driver;
|
||||
static struct qemud_driver driver;
|
||||
|
||||
#define MAX_FILE 4096
|
||||
|
||||
|
||||
Reference in New Issue
Block a user