tests: do not include <stdbool.h> in files that include "tests.h"

Starting with commit v4.21-37-g4f63bc70ca95012d72e288fc3c1eeb3ba26068a4,
<stdbool.h> is included by tests.h, so all tests that already include
"tests.h" do not need to include <stdbool.h>.

* tests/btrfs.c: Do not include <stdbool.h>.
* tests/file_handle.c: Likewise.
* tests/futex.c: Likewise.
* tests/ioctl_dm.c: Likewise.
* tests/ioctl_loop.c: Likewise.
* tests/ioctl_sock_gifconf.c: Likewise.
* tests/keyctl.c: Likewise.
* tests/mq_sendrecv.c: Likewise.
* tests/perf_event_open.c: Likewise.
* tests/s390_guarded_storage.c: Likewise.
* tests/s390_pci_mmio_read_write.c: Likewise.
* tests/s390_sthyi.c: Likewise.
* tests/xet_thread_area_x86.c: Likewise.
This commit is contained in:
Дмитрий Левин 2018-03-01 01:00:24 +00:00
parent 08b4355d9c
commit 6675b67366
13 changed files with 0 additions and 13 deletions

View File

@ -6,7 +6,6 @@
#include <fcntl.h>
#include <inttypes.h>
#include <limits.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -39,7 +39,6 @@
# include <inttypes.h>
# include <fcntl.h>
# include <stdio.h>
# include <stdbool.h>
# include <unistd.h>
enum assert_rc {

View File

@ -34,7 +34,6 @@
# include <errno.h>
# include <stdarg.h>
# include <stdbool.h>
# include <stdio.h>
# include <stdint.h>
# include <unistd.h>

View File

@ -35,7 +35,6 @@
# include <errno.h>
# include <inttypes.h>
# include <stdbool.h>
# include <stdio.h>
# include <stddef.h>
# include <string.h>

View File

@ -32,7 +32,6 @@
#include "tests.h"
#include <stdio.h>
#include <stdbool.h>
#include <string.h>
#include <inttypes.h>
#include <sys/ioctl.h>

View File

@ -30,7 +30,6 @@
#include "tests.h"
#include <stdbool.h>
#include <stdio.h>
#include <string.h>

View File

@ -41,7 +41,6 @@
# include <errno.h>
# include <inttypes.h>
# include <stdarg.h>
# include <stdbool.h>
# include <stdio.h>
# include <stdlib.h>
# include <string.h>

View File

@ -41,7 +41,6 @@
# include <fcntl.h>
# include <inttypes.h>
# include <signal.h>
# include <stdbool.h>
# include <stdio.h>
# include <stdlib.h>
# include <string.h>

View File

@ -35,7 +35,6 @@
# include <inttypes.h>
# include <limits.h>
# include <stdbool.h>
# include <stddef.h>
# include <stdio.h>
# include <stdlib.h>

View File

@ -33,7 +33,6 @@
#if defined __NR_s390_guarded_storage && defined HAVE_ASM_GUARDED_STORAGE_H
# include <inttypes.h>
# include <stdbool.h>
# include <stdint.h>
# include <stdio.h>
# include <unistd.h>

View File

@ -33,7 +33,6 @@
#if defined __NR_s390_pci_mmio_read && defined __NR_s390_pci_mmio_write
# include <errno.h>
# include <stdbool.h>
# include <stdint.h>
# include <stdio.h>
# include <unistd.h>

View File

@ -35,7 +35,6 @@
# include <errno.h>
# include <iconv.h>
# include <inttypes.h>
# include <stdbool.h>
# include <stdint.h>
# include <stdio.h>
# include <unistd.h>

View File

@ -37,7 +37,6 @@
# include <assert.h>
# include <errno.h>
# include <stdbool.h>
# include <stdio.h>
# include <stdint.h>
# include <string.h>