[Libvirt-cim] [PATCH 04 of 11] ESD: fix stale issue with threads

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


# HG changeset patch
# User Heidi Eckhart <heidieck at linux.vnet.ibm.com>
# Date 1202208795 -3600
# Node ID 50e5e752477d1784421c0daa279df45958ae59d8
# Parent  a74de7c13f806b7d9ba233c84c48277f7d1d92ce
ESD: fix stale issue with threads
Signed-off-by: Heidi Eckhart <heidieck at linux.vnet.ibm.com>

diff -r a74de7c13f80 -r 50e5e752477d src/Virt_ElementSettingData.c
--- a/src/Virt_ElementSettingData.c	Tue Feb 05 11:53:15 2008 +0100
+++ b/src/Virt_ElementSettingData.c	Tue Feb 05 11:53:15 2008 +0100
@@ -160,13 +160,13 @@ static CMPIInstance *make_ref(const CMPI
         return refinst;
 }
 
-char* virtual_system_setting_data[] = {
+static char* virtual_system_setting_data[] = {
         "Xen_VirtualSystemSettingData",
         "KVM_VirtualSystemSettingData",        
         NULL
 };
 
-char* resource_allocation_setting_data[] = {
+static char* resource_allocation_setting_data[] = {
         "Xen_DiskResourceAllocationSettingData",
         "Xen_MemResourceAllocationSettingData",
         "Xen_NetResourceAllocationSettingData",
@@ -178,7 +178,7 @@ char* resource_allocation_setting_data[]
         NULL
 };
 
-char* assoc_classname[] = {
+static char* assoc_classname[] = {
         "Xen_ElementSettingData",
         "KVM_ElementSettingData",        
         NULL




More information about the Libvirt-cim mailing list