]> granicus.if.org Git - strace/commitdiff
tests: do not include <stdbool.h> in files that include "tests.h"
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 1 Mar 2018 01:00:24 +0000 (01:00 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 1 Mar 2018 01:00:24 +0000 (01:00 +0000)
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.

13 files changed:
tests/btrfs.c
tests/file_handle.c
tests/futex.c
tests/ioctl_dm.c
tests/ioctl_loop.c
tests/ioctl_sock_gifconf.c
tests/keyctl.c
tests/mq_sendrecv.c
tests/perf_event_open.c
tests/s390_guarded_storage.c
tests/s390_pci_mmio_read_write.c
tests/s390_sthyi.c
tests/xet_thread_area_x86.c

index 710d76307030e903edee9050be36a8c88b44e284..337795f6cd0fd3bdddf0ec80c61976346aaaa16d 100644 (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>
index bbdf48b18ae3e1dd0c0b7810f96c61787dc304ad..54e31bd3a110415d6d0f675613c5d615d707f073 100644 (file)
@@ -39,7 +39,6 @@
 # include <inttypes.h>
 # include <fcntl.h>
 # include <stdio.h>
-# include <stdbool.h>
 # include <unistd.h>
 
 enum assert_rc {
index 0c095b8f648e653f328ef197c7d58522d9beaf40..174100f31665d511762f49e864f7f960ff2d328c 100644 (file)
@@ -34,7 +34,6 @@
 
 # include <errno.h>
 # include <stdarg.h>
-# include <stdbool.h>
 # include <stdio.h>
 # include <stdint.h>
 # include <unistd.h>
index bbdc00c6ff57c2c4d1e6051be5e43d3747732e5a..3792291eb5d9e80d1bf9b106d2ba1a501ee8517c 100644 (file)
@@ -35,7 +35,6 @@
 
 # include <errno.h>
 # include <inttypes.h>
-# include <stdbool.h>
 # include <stdio.h>
 # include <stddef.h>
 # include <string.h>
index 56ebd9e47d02dac85757082fd790e666119dd45e..e1615424dc0bd3f2679dfc65b409304b051bcdb2 100644 (file)
@@ -32,7 +32,6 @@
 
 #include "tests.h"
 #include <stdio.h>
-#include <stdbool.h>
 #include <string.h>
 #include <inttypes.h>
 #include <sys/ioctl.h>
index efa55a3a14b67444fbcf1d3cbcb66a532c6e3f95..eb64ecb8662071a8ba805086ea1692f4bc4bca89 100644 (file)
@@ -30,7 +30,6 @@
 
 #include "tests.h"
 
-#include <stdbool.h>
 #include <stdio.h>
 #include <string.h>
 
index 2d8b9ecc2613800c914273aeed3e9b86bdf1b57c..42e06b98e9dff5ac6d44f8a56cce87b3a82fc881 100644 (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>
index f6f6bd29948babdbbda9888e76d6ecb3dd5ac4bb..bdee54b76e81b9e635f2a1b3812ef0bf9a4672d6 100644 (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>
index 667c31f4bea251bef7b73732971250c41bbafe13..17d3f228b0cf4bb0c5ed9918057d2b8df5e9cb4a 100644 (file)
@@ -35,7 +35,6 @@
 
 # include <inttypes.h>
 # include <limits.h>
-# include <stdbool.h>
 # include <stddef.h>
 # include <stdio.h>
 # include <stdlib.h>
index ab67c1583c412e990f5396cd675098258ced1d57..69ac166defc613758889b628dcbe4c7f2ea5c9d6 100644 (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>
index b493948dec13ee1c7cec71f7ff79220ba03d6e8d..9383d6edeecd1fe28b8a55f505a980ea3b8b1af3 100644 (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>
index 10a7b872366b9aa6a37f355a0c7b0193887d3da4..f3c309a10cfce606438fb21fc0fefb9c105d847d 100644 (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>
index 68f495cbe6cef5c70ea6a60b188683c7605024b0..36591ec66e96904b5d85141cc928eb7ff7183569 100644 (file)
@@ -37,7 +37,6 @@
 
 # include <assert.h>
 # include <errno.h>
-# include <stdbool.h>
 # include <stdio.h>
 # include <stdint.h>
 # include <string.h>