summaryrefslogtreecommitdiffstats
path: root/src/hardware/dmidecode.h
diff options
context:
space:
mode:
authorPeter Schiffer <pschiffe@redhat.com>2014-05-09 17:37:40 +0200
committerPeter Schiffer <pschiffe@redhat.com>2014-05-12 19:20:43 +0200
commit28aed3c2c360b84762f76b322e9fc80bd74c036b (patch)
tree880f68596cbaf7e0e020a6f116c3e789cd4fd60a /src/hardware/dmidecode.h
parent87a03ac7ebff779351e9782d40e691221195f8e0 (diff)
downloadopenlmi-providers-28aed3c2c360b84762f76b322e9fc80bd74c036b.tar.gz
openlmi-providers-28aed3c2c360b84762f76b322e9fc80bd74c036b.tar.xz
openlmi-providers-28aed3c2c360b84762f76b322e9fc80bd74c036b.zip
Hardware: spring cleanup & refactor
* use openlmi common library where possible * get rid of LMI_Hardware.h file * some other cosmetic changes
Diffstat (limited to 'src/hardware/dmidecode.h')
-rw-r--r--src/hardware/dmidecode.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/hardware/dmidecode.h b/src/hardware/dmidecode.h
index 5e7cb4a..9bf4549 100644
--- a/src/hardware/dmidecode.h
+++ b/src/hardware/dmidecode.h
@@ -21,12 +21,8 @@
#ifndef DMIDECODE_H_
#define DMIDECODE_H_
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
#include "utils.h"
-
/* Processor from dmidecode. */
typedef struct _DmiProcessor {
char *id; /* ID */
@@ -304,5 +300,4 @@ short dmi_get_batteries(DmiBattery **batteries, unsigned *batteries_nb);
*/
void dmi_free_batteries(DmiBattery **batteries, unsigned *batteries_nb);
-
#endif /* DMIDECODE_H_ */