diff options
author | Peter Schiffer <pschiffe@redhat.com> | 2014-05-09 17:37:40 +0200 |
---|---|---|
committer | Peter Schiffer <pschiffe@redhat.com> | 2014-05-12 19:20:43 +0200 |
commit | 28aed3c2c360b84762f76b322e9fc80bd74c036b (patch) | |
tree | 880f68596cbaf7e0e020a6f116c3e789cd4fd60a /src/hardware/procfs.h | |
parent | 87a03ac7ebff779351e9782d40e691221195f8e0 (diff) | |
download | openlmi-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/procfs.h')
-rw-r--r-- | src/hardware/procfs.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/hardware/procfs.h b/src/hardware/procfs.h index b0a7174..aa21057 100644 --- a/src/hardware/procfs.h +++ b/src/hardware/procfs.h @@ -21,12 +21,8 @@ #ifndef PROCFS_H_ #define PROCFS_H_ -#include <stdio.h> -#include <stdlib.h> -#include <string.h> #include "utils.h" - /* Processor from /proc/cpuinfo file. */ typedef struct _CpuinfoProcessor { unsigned flags_nb; /* Number of CPU Flags */ @@ -55,5 +51,4 @@ void cpuinfo_free_processor(CpuinfoProcessor *cpu); */ unsigned long meminfo_get_memory_size(); - #endif /* PROCFS_H_ */ |