IWYU update

This commit is contained in:
Christian Göttsche
2021-08-24 17:27:43 +02:00
committed by BenBE
parent fecf093367
commit 2bf626c4e4
32 changed files with 47 additions and 26 deletions

View File

@ -8,7 +8,6 @@ in the source distribution for its full text.
#include "linux/HugePageMeter.h"
#include <assert.h>
#include <limits.h>
#include <math.h>
#include <stddef.h>

View File

@ -1,13 +1,22 @@
#include "linux/LibSensors.h"
#include "config.h"
#ifdef HAVE_SENSORS_SENSORS_H
#include <assert.h>
#include <dlfcn.h>
#include <errno.h>
#include <limits.h>
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sensors/sensors.h>
#include "Macros.h"
#include "XUtils.h"
#include "linux/LinuxProcessList.h"
#ifdef BUILD_STATIC

View File

@ -1,10 +1,6 @@
#ifndef HEADER_LibSensors
#define HEADER_LibSensors
#include "config.h" // IWYU pragma: keep
#include <stdio.h>
#include "linux/LinuxProcessList.h"

View File

@ -8,11 +8,9 @@ in the source distribution for its full text.
#include "linux/LinuxProcess.h"
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <syscall.h>
#include <unistd.h>

View File

@ -11,6 +11,7 @@ in the source distribution for its full text.
#include "config.h" // IWYU pragma: keep
#include <stdbool.h>
#include <sys/types.h>
#include "linux/IOPriority.h"
#include "Object.h"

View File

@ -24,7 +24,6 @@ in the source distribution for its full text.
#include <time.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
#ifdef HAVE_DELAYACCT
@ -47,7 +46,7 @@ in the source distribution for its full text.
#include "Settings.h"
#include "XUtils.h"
#include "linux/LinuxProcess.h"
#include "linux/Platform.h" // needed for GNU/hurd to get PATH_MAX
#include "linux/Platform.h" // needed for GNU/hurd to get PATH_MAX // IWYU pragma: keep
#if defined(MAJOR_IN_MKDEV)
#include <sys/mkdev.h>

View File

@ -7,6 +7,8 @@ Released under the GNU GPLv2, see the COPYING file
in the source distribution for its full text.
*/
#include "config.h"
#include <limits.h>
#include <stdbool.h>
#include <stddef.h>
@ -18,10 +20,12 @@ in the source distribution for its full text.
#include "BatteryMeter.h"
#include "DiskIOMeter.h"
#include "Hashtable.h"
#include "Macros.h"
#include "Meter.h"
#include "NetworkIOMeter.h"
#include "Process.h"
#include "ProcessLocksScreen.h"
#include "RichString.h"
#include "SignalsPanel.h"
#include "generic/gettime.h"
#include "generic/hostname.h"