[Libvirt-cim] [PATCH 10 of 11] SD: fix stale issue with threads

Heidi Eckhart heidieck at linux.vnet.ibm.com
Tue Feb 5 09:03:30 UTC 2008


# HG changeset patch
# User Heidi Eckhart <heidieck at linux.vnet.ibm.com>
# Date 1202205739 -3600
# Node ID fb21f67bf6294c49b620bc39e6329d9e712dc967
# Parent  d115dcc00cde07404c2d86798d71b15e23f296b5
SD: fix stale issue with threads
Signed-off-by: Heidi Eckhart <heidieck at linux.vnet.ibm.com>

diff -r d115dcc00cde -r fb21f67bf629 src/Virt_SystemDevice.c
--- a/src/Virt_SystemDevice.c	Tue Feb 05 11:02:01 2008 +0100
+++ b/src/Virt_SystemDevice.c	Tue Feb 05 11:02:19 2008 +0100
@@ -210,13 +210,13 @@ static CMPIStatus dev_to_sys(const CMPIO
 
 LIBVIRT_CIM_DEFAULT_MAKEREF()
 
-char* group_component[] = {
+static char* group_component[] = {
         "Xen_ComputerSystem",
         "KVM_ComputerSystem",
         NULL
 };
 
-char* part_component[] = {
+static char* part_component[] = {
         "Xen_Processor",
         "Xen_Memory",
         "Xen_NetworkPort",
@@ -228,7 +228,7 @@ char* part_component[] = {
         NULL
 };
 
-char* assoc_classname[] = {
+static char* assoc_classname[] = {
         "Xen_SystemDevice",
         "KVM_SystemDevice",        
         NULL




More information about the Libvirt-cim mailing list