diff options
author | Jan Synacek <jsynacek@redhat.com> | 2014-04-29 08:33:13 +0200 |
---|---|---|
committer | Jan Synacek <jsynacek@redhat.com> | 2014-04-30 15:54:14 +0200 |
commit | 55f63d29f5d2b4e82979d71386df58394e87ef5a (patch) | |
tree | 34227f5696df9b3a85c5999d2fd48f50be82681f /src/hardware/LMI_ProcessorChipProvider.c | |
parent | dab89c6afb2a2b339ebadea3d47e841cd749b5ef (diff) | |
download | openlmi-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_ProcessorChipProvider.c')
-rw-r--r-- | src/hardware/LMI_ProcessorChipProvider.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/hardware/LMI_ProcessorChipProvider.c b/src/hardware/LMI_ProcessorChipProvider.c index 946758f..d3a2d14 100644 --- a/src/hardware/LMI_ProcessorChipProvider.c +++ b/src/hardware/LMI_ProcessorChipProvider.c @@ -21,7 +21,6 @@ #include <konkret/konkret.h> #include "LMI_ProcessorChip.h" #include "LMI_Hardware.h" -#include "globals.h" #include "dmidecode.h" #include "procfs.h" @@ -76,10 +75,10 @@ static CMPIStatus LMI_ProcessorChipEnumInstances( LMI_ProcessorChip_Init(&lmi_cpu_chip, _cb, ns); LMI_ProcessorChip_Set_CreationClassName(&lmi_cpu_chip, - ORGID "_" CPU_CHIP_CLASS_NAME); + LMI_ORGID "_" CPU_CHIP_CLASS_NAME); snprintf(instance_id, INSTANCE_ID_LEN, - ORGID ":" ORGID "_" CPU_CHIP_CLASS_NAME ":%s", dmi_cpus[i].id); + LMI_ORGID ":" LMI_ORGID "_" CPU_CHIP_CLASS_NAME ":%s", dmi_cpus[i].id); cpu_name = dmi_cpus[i].name; if (!cpu_name || !strlen(cpu_name) |