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

Heidi Eckhart heidieck at linux.vnet.ibm.com
Tue Feb 5 10:14:05 UTC 2008


# HG changeset patch
# User Heidi Eckhart <heidieck at linux.vnet.ibm.com>
# Date 1202208796 -3600
# Node ID 639072fe628db4eb506e9af1d47cb0e90d5291ad
# Parent  ea9ba48df4ae5d383720b6dae6ed5d3176555bc8
HS: fix stale issue with threads
Signed-off-by: Heidi Eckhart <heidieck at linux.vnet.ibm.com>

diff -r ea9ba48df4ae -r 639072fe628d src/Virt_HostedService.c
--- a/src/Virt_HostedService.c	Tue Feb 05 11:53:16 2008 +0100
+++ b/src/Virt_HostedService.c	Tue Feb 05 11:53:16 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