diff options
author | Benny Baumann <BenBE@geshi.org> | 2020-09-19 13:55:23 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2020-10-18 20:09:05 +0200 |
commit | 0f5262917fab34b44b43f63946fdf6bb0621875a (patch) | |
tree | 07e449767f00310ef038d786688f891600a01b4d /Meter.h | |
parent | 29346d05616ce69e5988b3f1257c340f91299602 (diff) |
Make all required includes explicit
Information as seen by IWYU 0.12 + clang 9 on Linux
Diffstat (limited to 'Meter.h')
-rw-r--r-- | Meter.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -7,12 +7,17 @@ Released under the GNU GPLv2, see the COPYING file in the source distribution for its full text. */ +#include <stdbool.h> #include <sys/time.h> #include "ListItem.h" +#include "Object.h" +#include "ProcessList.h" + #define METER_BUFFER_LEN 256 +struct Meter_; typedef struct Meter_ Meter; typedef void(*Meter_Init)(Meter*); @@ -67,7 +72,7 @@ struct Meter_ { int param; GraphData* drawData; int h; - struct ProcessList_* pl; + ProcessList* pl; char curItems; double* values; double total; @@ -91,7 +96,7 @@ typedef enum { extern const MeterClass Meter_class; -Meter* Meter_new(struct ProcessList_* pl, int param, const MeterClass* type); +Meter* Meter_new(ProcessList* pl, int param, const MeterClass* type); int Meter_humanUnit(char* buffer, unsigned long int value, int size); |