From 0f5262917fab34b44b43f63946fdf6bb0621875a Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Sat, 19 Sep 2020 13:55:23 +0200 Subject: Make all required includes explicit Information as seen by IWYU 0.12 + clang 9 on Linux --- Meter.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Meter.h') diff --git a/Meter.h b/Meter.h index 5432a768..84d157bb 100644 --- a/Meter.h +++ b/Meter.h @@ -7,12 +7,17 @@ Released under the GNU GPLv2, see the COPYING file in the source distribution for its full text. */ +#include #include #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); -- cgit v1.2.3