summaryrefslogtreecommitdiffstats
path: root/src/hardware/LMI_MemorySlotContainerProvider.c
diff options
context:
space:
mode:
authorJan Synacek <jsynacek@redhat.com>2014-04-29 08:33:13 +0200
committerJan Synacek <jsynacek@redhat.com>2014-04-30 15:54:14 +0200
commit55f63d29f5d2b4e82979d71386df58394e87ef5a (patch)
tree34227f5696df9b3a85c5999d2fd48f50be82681f /src/hardware/LMI_MemorySlotContainerProvider.c
parentdab89c6afb2a2b339ebadea3d47e841cd749b5ef (diff)
downloadopenlmi-providers-55f63d29f5d2b4e82979d71386df58394e87ef5a.tar.gz
openlmi-providers-55f63d29f5d2b4e82979d71386df58394e87ef5a.tar.xz
openlmi-providers-55f63d29f5d2b4e82979d71386df58394e87ef5a.zip
libopenlmi: reorganize and gather
Make naming consistent. Gather common functionality into one library and try to use it across all providers. Introduce libtool-style versioning for libraries.
Diffstat (limited to 'src/hardware/LMI_MemorySlotContainerProvider.c')
-rw-r--r--src/hardware/LMI_MemorySlotContainerProvider.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/hardware/LMI_MemorySlotContainerProvider.c b/src/hardware/LMI_MemorySlotContainerProvider.c
index 6dd21d3..8852954 100644
--- a/src/hardware/LMI_MemorySlotContainerProvider.c
+++ b/src/hardware/LMI_MemorySlotContainerProvider.c
@@ -21,7 +21,6 @@
#include <konkret/konkret.h>
#include "LMI_MemorySlotContainer.h"
#include "LMI_Hardware.h"
-#include "globals.h"
#include "dmidecode.h"
static const CMPIBroker* _cb;
@@ -74,7 +73,7 @@ static CMPIStatus LMI_MemorySlotContainerEnumInstances(
LMI_ChassisRef_Init(&lmi_chassis, _cb, ns);
LMI_ChassisRef_Set_CreationClassName(&lmi_chassis,
- ORGID "_" CHASSIS_CLASS_NAME);
+ LMI_ORGID "_" CHASSIS_CLASS_NAME);
if (strcmp(dmi_chassis.serial_number, "Not Specified") == 0) {
LMI_ChassisRef_Set_Tag(&lmi_chassis, "0");
} else {
@@ -88,7 +87,7 @@ static CMPIStatus LMI_MemorySlotContainerEnumInstances(
LMI_MemorySlotRef_Init(&lmi_mem_slot, _cb, ns);
LMI_MemorySlotRef_Set_CreationClassName(&lmi_mem_slot,
- ORGID "_" MEMORY_SLOT_CLASS_NAME);
+ LMI_ORGID "_" MEMORY_SLOT_CLASS_NAME);
LMI_MemorySlotRef_Set_Tag(&lmi_mem_slot, tag);
LMI_MemorySlotContainer_Set_GroupComponent(&lmi_mem_slot_container,