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:
Jim Meyering
2008-01-14 14:04:33 +00:00
parent 6aae9a9efb
commit f510a6128b
4 changed files with 10 additions and 3 deletions

View File

@@ -15,7 +15,7 @@
#include <stdio.h>
#include <libvirt/libvirt.h>
virConnectPtr conn = NULL; /* the hypervisor connection */
static virConnectPtr conn = NULL; /* the hypervisor connection */
/**
* checkDomainState: