mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
cleaned up includes with iwyu
This commit is contained in:
@ -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[] = {
|
||||
|
@ -9,6 +9,7 @@ in the source distribution for its full text.
|
||||
|
||||
#include "Meter.h"
|
||||
|
||||
|
||||
extern const MeterClass HugePageMeter_class;
|
||||
|
||||
#endif /* HEADER_HugePageMeter */
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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;
|
||||
|
@ -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"
|
||||
|
||||
|
@ -9,6 +9,7 @@ in the source distribution for its full text.
|
||||
|
||||
#include "Meter.h"
|
||||
|
||||
|
||||
extern const MeterClass SELinuxMeter_class;
|
||||
|
||||
#endif /* HEADER_SELinuxMeter */
|
||||
|
@ -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)
|
||||
|
@ -10,6 +10,7 @@ in the source distribution for its full text.
|
||||
|
||||
#include "Meter.h"
|
||||
|
||||
|
||||
extern const MeterClass SystemdMeter_class;
|
||||
|
||||
#endif /* HEADER_SystemdMeter */
|
||||
|
@ -1,5 +1,7 @@
|
||||
#include "ZramMeter.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include "CRT.h"
|
||||
#include "Meter.h"
|
||||
#include "Object.h"
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
#include "Meter.h"
|
||||
|
||||
|
||||
extern const MeterClass ZramMeter_class;
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user