IWYU update

This commit is contained in:
Christian Göttsche 2020-12-06 15:22:41 +01:00 committed by BenBE
parent 22f8f8000c
commit 7ba25aa3c4
18 changed files with 13 additions and 13 deletions

1
CRT.c
View File

@ -11,7 +11,6 @@ in the source distribution for its full text.
#include <errno.h>
#include <langinfo.h>
#include <locale.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -18,7 +18,6 @@ in the source distribution for its full text.
#include "ProvideCurses.h"
#include "RichString.h"
#include "Vector.h"
#include "XUtils.h"
// TO ADD A NEW SCHEME:

View File

@ -12,7 +12,7 @@ in the source distribution for its full text.
#include <fcntl.h>
#include <stddef.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/stat.h> // IWYU pragma: keep
int Compat_faccessat(int dirfd,

View File

@ -18,7 +18,6 @@ in the source distribution for its full text.
#include "Object.h"
#include "OptionItem.h"
#include "ProvideCurses.h"
#include "XUtils.h"
static const char* const DisplayOptionsFunctions[] = {" ", " ", " ", " ", " ", " ", " ", " ", " ", "Done ", NULL};

View File

@ -13,6 +13,7 @@ in the source distribution for its full text.
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "Macros.h"
#include "XUtils.h"

View File

@ -20,6 +20,7 @@ in the source distribution for its full text.
#include "Object.h"
#include "ProvideCurses.h"
#include "RichString.h"
#include "Settings.h"
#include "XUtils.h"

View File

@ -12,7 +12,9 @@ in the source distribution for its full text.
#include <stdlib.h>
#include "CRT.h"
#include "Macros.h"
#include "RichString.h"
#include "XUtils.h"
static void OptionItem_delete(Object* cast) {

View File

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

View File

@ -14,6 +14,7 @@ in the source distribution for its full text.
#include "CRT.h"
#include "Hashtable.h"
#include "Macros.h"
#include "Vector.h"
#include "XUtils.h"

View File

@ -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 "Process.h"

View File

@ -11,6 +11,7 @@ in the source distribution for its full text.
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>

View File

@ -13,6 +13,7 @@ in the source distribution for its full text.
#include <stdio.h>
#include <stdlib.h> // IWYU pragma: keep
#include <string.h> // IWYU pragma: keep
#include <sys/types.h>
#include "Compat.h"
#include "Macros.h"

View File

@ -4,7 +4,6 @@
#include <dlfcn.h>
#include <errno.h>
#include <limits.h>
#include <sensors/sensors.h>
#include "XUtils.h"

View File

@ -11,6 +11,7 @@ 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>

View File

@ -8,10 +8,9 @@ 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 <stdbool.h>
#include <sys/types.h>
#include "IOPriority.h"
#include "Object.h"

View File

@ -13,18 +13,17 @@ in the source distribution for its full text.
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
#include <inttypes.h>
#include <limits.h>
#include <math.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/utsname.h>
#ifdef HAVE_DELAYACCT
#include <linux/netlink.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 <limits.h>

View File

@ -9,7 +9,6 @@ in the source distribution for its full text.
#include "CRT.h"
#include <fcntl.h>
#include <stdbool.h>
#include <stdio.h>
#include <unistd.h>