[Libvirt-cim] [PATCH 06 of 11] HS: fix stale issue with threads

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


# HG changeset patch
# User Heidi Eckhart <heidieck at linux.vnet.ibm.com>
# Date 1202205660 -3600
# Node ID 5a27100b0540202a139cc86dc5e8c08ea30bd5b2
# Parent  73c3b0b5eb89308ba4e700c942ac23575d687263
HS: fix stale issue with threads
Signed-off-by: Heidi Eckhart <heidieck at linux.vnet.ibm.com>

diff -r 73c3b0b5eb89 -r 5a27100b0540 src/Virt_HostedService.c
--- a/src/Virt_HostedService.c	Tue Feb 05 11:00:59 2008 +0100
+++ b/src/Virt_HostedService.c	Tue Feb 05 11:01:00 2008 +0100
@@ -128,13 +128,13 @@ static CMPIStatus host_to_service(const 
 
 LIBVIRT_CIM_DEFAULT_MAKEREF()
 
-char* antecedent[] = {  
+static char* antecedent[] = {  
         "Xen_HostSystem",
         "KVM_HostSystem",
         NULL
 };
 
-char* dependent[] = {
+static char* dependent[] = {
         "Xen_ResourcePoolConfigurationService",
         "Xen_VirtualSystemManagementService",
         "Xen_VirtualSystemMigrationService",
@@ -144,7 +144,7 @@ char* dependent[] = {
         NULL
 };
 
-char* assoc_classname[] = {
+static char* assoc_classname[] = {
         "Xen_HostedService",
         "KVM_HostedService",        
         NULL




More information about the Libvirt-cim mailing list