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:
parent
08b4355d9c
commit
6675b67366
@ -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>
|
||||
|
@ -39,7 +39,6 @@
|
||||
# include <inttypes.h>
|
||||
# include <fcntl.h>
|
||||
# include <stdio.h>
|
||||
# include <stdbool.h>
|
||||
# include <unistd.h>
|
||||
|
||||
enum assert_rc {
|
||||
|
@ -34,7 +34,6 @@
|
||||
|
||||
# include <errno.h>
|
||||
# include <stdarg.h>
|
||||
# include <stdbool.h>
|
||||
# include <stdio.h>
|
||||
# include <stdint.h>
|
||||
# include <unistd.h>
|
||||
|
@ -35,7 +35,6 @@
|
||||
|
||||
# include <errno.h>
|
||||
# include <inttypes.h>
|
||||
# include <stdbool.h>
|
||||
# include <stdio.h>
|
||||
# include <stddef.h>
|
||||
# include <string.h>
|
||||
|
@ -32,7 +32,6 @@
|
||||
|
||||
#include "tests.h"
|
||||
#include <stdio.h>
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#include <inttypes.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
@ -30,7 +30,6 @@
|
||||
|
||||
#include "tests.h"
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -35,7 +35,6 @@
|
||||
|
||||
# include <inttypes.h>
|
||||
# include <limits.h>
|
||||
# include <stdbool.h>
|
||||
# include <stddef.h>
|
||||
# include <stdio.h>
|
||||
# include <stdlib.h>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -37,7 +37,6 @@
|
||||
|
||||
# include <assert.h>
|
||||
# include <errno.h>
|
||||
# include <stdbool.h>
|
||||
# include <stdio.h>
|
||||
# include <stdint.h>
|
||||
# include <string.h>
|
||||
|
Loading…
Reference in New Issue
Block a user