# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1202205721 -3600
# Node ID d115dcc00cde07404c2d86798d71b15e23f296b5
# Parent f0b4c691abc5da51dce9ba8528bd3fc0769e4cde
SDS: fix stale issue with threads
Signed-off-by: Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
diff -r f0b4c691abc5 -r d115dcc00cde src/Virt_SettingsDefineState.c
--- a/src/Virt_SettingsDefineState.c Tue Feb 05 11:02:00 2008 +0100
+++ b/src/Virt_SettingsDefineState.c Tue Feb 05 11:02:01 2008 +0100
@@ -290,7 +290,7 @@ static CMPIStatus vssd_to_vs(const CMPIO
LIBVIRT_CIM_DEFAULT_MAKEREF()
-char* logical_device[] = {
+static char* logical_device[] = {
"Xen_Processor",
"Xen_Memory",
"Xen_NetworkPort",
@@ -302,7 +302,7 @@ char* logical_device[] = {
NULL
};
-char* resource_allocation_setting_data[] = {
+static char* resource_allocation_setting_data[] = {
"Xen_DiskResourceAllocationSettingData",
"Xen_MemResourceAllocationSettingData",
"Xen_NetResourceAllocationSettingData",
@@ -314,19 +314,19 @@ char* resource_allocation_setting_data[]
NULL
};
-char* computer_system[] = {
+static char* computer_system[] = {
"Xen_ComputerSystem",
"KVM_ComputerSystem",
NULL
};
-char* virtual_system_setting_data[] = {
+static char* virtual_system_setting_data[] = {
"Xen_VirtualSystemSettingData",
"KVM_VirtualSystemSettingData",
NULL
};
-char* assoc_classname[] = {
+static char* assoc_classname[] = {
"Xen_SettingsDefineState",
"KVM_SettingsDefineState",
NULL