cleaned up includes with iwyu

This commit is contained in:
mayurdahibhate
2021-04-29 20:42:43 +05:30
committed by BenBE
parent d9c95369bc
commit 1b74dfe187
71 changed files with 92 additions and 29 deletions

View File

@ -7,15 +7,19 @@ in the source distribution for its full text.
#include "HugePageMeter.h"
#include "LinuxProcessList.h"
#include <assert.h>
#include <limits.h>
#include <math.h>
#include <stddef.h>
#include "CRT.h"
#include "LinuxProcessList.h"
#include "Macros.h"
#include "Object.h"
#include "ProcessList.h"
#include "RichString.h"
static const char *HugePageMeter_active_labels[4] = { NULL, NULL, NULL, NULL };
static const int HugePageMeter_attributes[] = {

View File

@ -9,6 +9,7 @@ in the source distribution for its full text.
#include "Meter.h"
extern const MeterClass HugePageMeter_class;
#endif /* HEADER_HugePageMeter */

View File

@ -8,6 +8,7 @@ in the source distribution for its full text.
#include "LinuxProcess.h"
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -20,6 +20,7 @@ in the source distribution for its full text.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <time.h>
#include <unistd.h>
#include <sys/stat.h>

View File

@ -12,7 +12,6 @@ in the source distribution for its full text.
#include <assert.h>
#include <ctype.h>
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
#include <inttypes.h>
#include <math.h>
@ -63,6 +62,7 @@ in the source distribution for its full text.
#include "zfs/ZfsCompressedArcMeter.h"
#ifdef HAVE_LIBCAP
#include <errno.h>
#include <sys/capability.h>
#endif

View File

@ -9,6 +9,9 @@ in the source distribution for its full text.
#include <limits.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <sys/time.h>
#include <sys/types.h>
#include "Action.h"

View File

@ -12,6 +12,7 @@ in the source distribution for its full text.
#include "Meter.h"
extern const MeterClass PressureStallCPUSomeMeter_class;
extern const MeterClass PressureStallIOSomeMeter_class;

View File

@ -10,12 +10,12 @@ in the source distribution for its full text.
#include "CRT.h"
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/statfs.h>
#include <sys/statvfs.h>
#include "Macros.h"
#include "Object.h"
#include "XUtils.h"

View File

@ -9,6 +9,7 @@ in the source distribution for its full text.
#include "Meter.h"
extern const MeterClass SELinuxMeter_class;
#endif /* HEADER_SELinuxMeter */

View File

@ -19,6 +19,7 @@ in the source distribution for its full text.
#include "Macros.h"
#include "Object.h"
#include "RichString.h"
#include "Settings.h"
#include "XUtils.h"
#if defined(BUILD_STATIC) && defined(HAVE_LIBSYSTEMD)

View File

@ -10,6 +10,7 @@ in the source distribution for its full text.
#include "Meter.h"
extern const MeterClass SystemdMeter_class;
#endif /* HEADER_SystemdMeter */

View File

@ -1,5 +1,7 @@
#include "ZramMeter.h"
#include <stddef.h>
#include "CRT.h"
#include "Meter.h"
#include "Object.h"

View File

@ -3,6 +3,7 @@
#include "Meter.h"
extern const MeterClass ZramMeter_class;
#endif