IWYU update (Linux)

main
Christian Göttsche 5 years ago committed by BenBE
parent 329011bb98
commit 7cf5277594
  1. 3
      Action.c
  2. 3
      CPUMeter.c
  3. 1
      ColumnsPanel.c
  4. 9
      Compat.c
  5. 1
      DiskIOMeter.c
  6. 7
      Hashtable.c
  7. 1
      Meter.h
  8. 1
      NetworkIOMeter.c
  9. 3
      Process.c
  10. 1
      Process.h
  11. 17
      ProcessLocksScreen.c
  12. 8
      ProcessLocksScreen.h
  13. 1
      htop.c
  14. 3
      linux/LinuxProcess.c
  15. 2
      linux/LinuxProcess.h
  16. 7
      linux/Platform.c
  17. 8
      linux/SystemdMeter.c
  18. 3
      linux/ZramMeter.c

@ -5,7 +5,7 @@ Released under the GNU GPLv2, see the COPYING file
in the source distribution for its full text.
*/
#include "config.h"
#include "config.h" // IWYU pragma: keep
#include "Action.h"
@ -20,6 +20,7 @@ in the source distribution for its full text.
#include "CRT.h"
#include "EnvScreen.h"
#include "FunctionBar.h"
#include "Hashtable.h"
#include "IncSet.h"
#include "InfoScreen.h"
#include "ListItem.h"

@ -5,9 +5,12 @@ Released under the GNU GPLv2, see the COPYING file
in the source distribution for its full text.
*/
#include "config.h"
#include "CPUMeter.h"
#include <math.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>

@ -14,7 +14,6 @@ in the source distribution for its full text.
#include "FunctionBar.h"
#include "ListItem.h"
#include "Object.h"
#include "Platform.h"
#include "Process.h"
#include "ProvideCurses.h"
#include "XUtils.h"

@ -7,13 +7,14 @@ in the source distribution for its full text.
#include "config.h" // IWYU pragma: keep
#include <fcntl.h>
#include "Compat.h"
#include <fcntl.h> // IWYU pragma: keep
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/types.h> // IWYU pragma: keep
#include "Compat.h"
#include "XUtils.h"
#include "XUtils.h" // IWYU pragma: keep
int Compat_fstatat(int dirfd,

@ -7,6 +7,7 @@ in the source distribution for its full text.
#include "DiskIOMeter.h"
#include <stdbool.h>
#include <stdio.h>
#include <sys/time.h>

@ -5,13 +5,18 @@ Released under the GNU GPLv2, see the COPYING file
in the source distribution for its full text.
*/
#include "config.h" // IWYU pragma: keep
#include "Hashtable.h"
#include "XUtils.h"
#include <assert.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include "Macros.h"
#include "XUtils.h"
#ifndef NDEBUG

@ -10,6 +10,7 @@ in the source distribution for its full text.
#include "config.h" // IWYU pragma: keep
#include <stdbool.h>
#include <stdint.h>
#include <sys/time.h>
#include "ListItem.h"

@ -1,5 +1,6 @@
#include "NetworkIOMeter.h"
#include <stdbool.h>
#include <stddef.h>
#include <sys/time.h>

@ -17,13 +17,14 @@ in the source distribution for its full text.
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <sys/resource.h>
#include "CRT.h"
#include "Macros.h"
#include "Platform.h"
#include "ProcessList.h"
#include "RichString.h"
#include "Settings.h"
#include "XUtils.h"

@ -9,7 +9,6 @@ in the source distribution for its full text.
*/
#include <stdbool.h>
#include <time.h>
#include <sys/types.h>
#include "Object.h"

@ -9,25 +9,14 @@ in the source distribution for its full text.
#include "ProcessLocksScreen.h"
#include <dirent.h>
#include <fcntl.h>
#include <inttypes.h>
#include <limits.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/wait.h>
#include "CRT.h"
#include "Compat.h"
#include "FunctionBar.h"
#include "IncSet.h"
#include "Panel.h"
#include "Platform.h"
#include "ProcessList.h"
#include "ProvideCurses.h"
#include "Vector.h"
#include "XUtils.h"

@ -7,9 +7,13 @@ Released under the GNU GPLv2, see the COPYING file
in the source distribution for its full text.
*/
#include "InfoScreen.h"
#include <stdbool.h>
#include <stdint.h>
#include <sys/types.h>
#include <stdlib.h>
#include "InfoScreen.h"
#include "Object.h"
#include "Process.h"
typedef struct ProcessLocksScreen_ {

@ -18,7 +18,6 @@ in the source distribution for its full text.
#include <unistd.h>
#include "Action.h"
#include "ColumnsPanel.h"
#include "CRT.h"
#include "Hashtable.h"
#include "Header.h"

@ -11,13 +11,14 @@ in the source distribution for its full text.
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <syscall.h>
#include <unistd.h>
#include "CRT.h"
#include "Macros.h"
#include "Process.h"
#include "ProvideCurses.h"
#include "RichString.h"
#include "XUtils.h"

@ -16,9 +16,9 @@ in the source distribution for its full text.
#include "IOPriority.h"
#include "Object.h"
#include "Process.h"
#include "RichString.h"
#include "Settings.h"
#define PROCESS_FLAG_LINUX_IOPRIO 0x0100
#define PROCESS_FLAG_LINUX_OPENVZ 0x0200
#define PROCESS_FLAG_LINUX_VSERVER 0x0400

@ -12,12 +12,16 @@ 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 <limits.h>
#include <math.h>
#include <stdint.h>
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include "BatteryMeter.h"
@ -51,6 +55,7 @@ in the source distribution for its full text.
#include "UptimeMeter.h"
#include "XUtils.h"
#include "ZramMeter.h"
#include "ZramStats.h"
#include "zfs/ZfsArcMeter.h"
#include "zfs/ZfsArcStats.h"

@ -9,12 +9,16 @@ in the source distribution for its full text.
#include <dlfcn.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/wait.h>
#include "CRT.h"
#include "Macros.h"
#include "Object.h"
#include "RichString.h"
#include "XUtils.h"

@ -2,7 +2,10 @@
#include "CRT.h"
#include "Meter.h"
#include "Object.h"
#include "Platform.h"
#include "RichString.h"
static const int ZramMeter_attributes[] = {
ZRAM

Loading…
Cancel
Save