
# HG changeset patch # User Heidi Eckhart <heidieck@linux.vnet.ibm.com> # Date 1202208795 -3600 # Node ID a74de7c13f806b7d9ba233c84c48277f7d1d92ce # Parent 760d970b2ff7ac3fdc15450e15f7ab4e937d94af ECTP: fix stale issue with threads Signed-off-by: Heidi Eckhart <heidieck@linux.vnet.ibm.com> diff -r 760d970b2ff7 -r a74de7c13f80 src/Virt_ElementConformsToProfile.c --- a/src/Virt_ElementConformsToProfile.c Tue Feb 05 11:53:00 2008 +0100 +++ b/src/Virt_ElementConformsToProfile.c Tue Feb 05 11:53:15 2008 +0100 @@ -192,13 +192,13 @@ static CMPIStatus elem_to_prof(const CMP LIBVIRT_CIM_DEFAULT_MAKEREF() -char* conformant_standard[] = { +static char* conformant_standard[] = { "Xen_RegisteredProfile", "KVM_RegisteredProfile", NULL }; -char* managed_element[] = { +static char* managed_element[] = { "Xen_HostSystem", "Xen_ComputerSystem", "KVM_HostSystem", @@ -206,13 +206,13 @@ char* managed_element[] = { NULL }; -char* assoc_classname[] = { +static char* assoc_classname[] = { "Xen_ElementConformsToProfile", "KVM_ElementConformsToProfile", NULL }; -struct std_assoc forward = { +static struct std_assoc forward = { .source_class = (char**)&conformant_standard, .source_prop = "ConformantStandard", @@ -225,7 +225,7 @@ struct std_assoc forward = { .make_ref = make_ref }; -struct std_assoc backward = { +static struct std_assoc backward = { .source_class = (char**)&managed_element, .source_prop = "ManagedElement", @@ -238,7 +238,7 @@ struct std_assoc backward = { .make_ref = make_ref }; -struct std_assoc *assoc_handlers[] = { +static struct std_assoc *assoc_handlers[] = { &forward, &backward, NULL