From 80cf60efec79ac63cc3a26c6ad8f86790a385847 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 15 Apr 2020 09:48:32 +0200 Subject: Canonicalize config.h include Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif --- testsuites/libtests/block08/test_disk.c | 2 +- testsuites/libtests/block11/init.c | 2 +- testsuites/libtests/block12/init.c | 2 +- testsuites/libtests/block13/init.c | 2 +- testsuites/libtests/block14/init.c | 2 +- testsuites/libtests/block15/init.c | 2 +- testsuites/libtests/block16/init.c | 2 +- testsuites/libtests/block17/init.c | 2 +- testsuites/libtests/complex/docomplex.c | 2 +- testsuites/libtests/complex/docomplexf.c | 2 +- testsuites/libtests/complex/docomplexl.c | 2 +- testsuites/libtests/crypt01/init.c | 2 +- testsuites/libtests/debugger01/remote.c | 2 +- testsuites/libtests/defaultconfig01/init.c | 2 +- testsuites/libtests/dl01/init.c | 2 +- testsuites/libtests/dl02/init.c | 2 +- testsuites/libtests/dl03/dl-bit-alloc.c | 2 +- testsuites/libtests/dl03/dl-cache.c | 2 +- testsuites/libtests/dl03/init.c | 2 +- testsuites/libtests/dl04/dl-load.c | 2 +- testsuites/libtests/dl04/init.c | 2 +- testsuites/libtests/dl05/dl-load.c | 2 +- testsuites/libtests/dl05/init.c | 2 +- testsuites/libtests/dl06/initimpl.h | 2 +- testsuites/libtests/dl07/init.c | 2 +- testsuites/libtests/dl08/init.c | 2 +- testsuites/libtests/dl09/init.c | 2 +- testsuites/libtests/dl10/init.c | 2 +- testsuites/libtests/exit01/init.c | 2 +- testsuites/libtests/exit02/init.c | 2 +- testsuites/libtests/flashdisk01/init.c | 2 +- testsuites/libtests/getentropy01/init.c | 2 +- testsuites/libtests/i2c01/init.c | 2 +- testsuites/libtests/libfdt01/init.c | 2 +- testsuites/libtests/math/domath.c | 2 +- testsuites/libtests/mathf/domathf.c | 2 +- testsuites/libtests/mathl/domathl.c | 2 +- testsuites/libtests/md501/init.c | 2 +- testsuites/libtests/mghttpd01/init.c | 2 +- testsuites/libtests/newlib01/init.c | 2 +- testsuites/libtests/pwdgrp01/init.c | 2 +- testsuites/libtests/pwdgrp02/init.c | 2 +- testsuites/libtests/rbheap01/init.c | 2 +- testsuites/libtests/sha/init.c | 2 +- testsuites/libtests/shell01/init.c | 2 +- testsuites/libtests/sparsedisk01/init.c | 2 +- testsuites/libtests/spi01/init.c | 2 +- testsuites/libtests/syscall01/init.c | 2 +- testsuites/libtests/utf8proc01/init.c | 2 +- 49 files changed, 49 insertions(+), 49 deletions(-) (limited to 'testsuites/libtests') diff --git a/testsuites/libtests/block08/test_disk.c b/testsuites/libtests/block08/test_disk.c index 5cc15d280a..27aea17d27 100644 --- a/testsuites/libtests/block08/test_disk.c +++ b/testsuites/libtests/block08/test_disk.c @@ -9,7 +9,7 @@ * http://www.rtems.org/license/LICENSE. */ -#if HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H #include "config.h" #endif diff --git a/testsuites/libtests/block11/init.c b/testsuites/libtests/block11/init.c index d5ed580426..8539cc63a8 100644 --- a/testsuites/libtests/block11/init.c +++ b/testsuites/libtests/block11/init.c @@ -21,7 +21,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/block12/init.c b/testsuites/libtests/block12/init.c index eb548e9ccb..6326093e34 100644 --- a/testsuites/libtests/block12/init.c +++ b/testsuites/libtests/block12/init.c @@ -13,7 +13,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/block13/init.c b/testsuites/libtests/block13/init.c index f001ed8fcd..c769c6fb93 100644 --- a/testsuites/libtests/block13/init.c +++ b/testsuites/libtests/block13/init.c @@ -13,7 +13,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/block14/init.c b/testsuites/libtests/block14/init.c index 1586ef96c9..b4e73aadc9 100644 --- a/testsuites/libtests/block14/init.c +++ b/testsuites/libtests/block14/init.c @@ -13,7 +13,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/block15/init.c b/testsuites/libtests/block15/init.c index 52be4c5df0..631a841f5d 100644 --- a/testsuites/libtests/block15/init.c +++ b/testsuites/libtests/block15/init.c @@ -13,7 +13,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/block16/init.c b/testsuites/libtests/block16/init.c index 215b69f744..6d6695ef1f 100644 --- a/testsuites/libtests/block16/init.c +++ b/testsuites/libtests/block16/init.c @@ -13,7 +13,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/block17/init.c b/testsuites/libtests/block17/init.c index 3346c7cf17..cbd918c7b6 100644 --- a/testsuites/libtests/block17/init.c +++ b/testsuites/libtests/block17/init.c @@ -13,7 +13,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include diff --git a/testsuites/libtests/complex/docomplex.c b/testsuites/libtests/complex/docomplex.c index 4872b5d15c..a17f84c9c8 100644 --- a/testsuites/libtests/complex/docomplex.c +++ b/testsuites/libtests/complex/docomplex.c @@ -11,7 +11,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #ifdef NO_DOUBLE diff --git a/testsuites/libtests/complex/docomplexf.c b/testsuites/libtests/complex/docomplexf.c index b51f888232..5ccefe8e09 100644 --- a/testsuites/libtests/complex/docomplexf.c +++ b/testsuites/libtests/complex/docomplexf.c @@ -11,7 +11,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #ifdef NO_FLOAT diff --git a/testsuites/libtests/complex/docomplexl.c b/testsuites/libtests/complex/docomplexl.c index 8b8317b3ff..2f2eb7d06a 100644 --- a/testsuites/libtests/complex/docomplexl.c +++ b/testsuites/libtests/complex/docomplexl.c @@ -11,7 +11,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif /* FIXME: Why is this defined? */ diff --git a/testsuites/libtests/crypt01/init.c b/testsuites/libtests/crypt01/init.c index c48fe1171d..527a151034 100644 --- a/testsuites/libtests/crypt01/init.c +++ b/testsuites/libtests/crypt01/init.c @@ -36,7 +36,7 @@ * Ulrich Drepper . */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include diff --git a/testsuites/libtests/debugger01/remote.c b/testsuites/libtests/debugger01/remote.c index 1c8c4d09be..3b302284a8 100644 --- a/testsuites/libtests/debugger01/remote.c +++ b/testsuites/libtests/debugger01/remote.c @@ -9,7 +9,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/defaultconfig01/init.c b/testsuites/libtests/defaultconfig01/init.c index 21c326dcbd..3ebd5ac1b9 100644 --- a/testsuites/libtests/defaultconfig01/init.c +++ b/testsuites/libtests/defaultconfig01/init.c @@ -13,7 +13,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include diff --git a/testsuites/libtests/dl01/init.c b/testsuites/libtests/dl01/init.c index 6317dc8504..86cbde94f4 100644 --- a/testsuites/libtests/dl01/init.c +++ b/testsuites/libtests/dl01/init.c @@ -7,7 +7,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/dl02/init.c b/testsuites/libtests/dl02/init.c index 7dc5dabbe2..5245418556 100644 --- a/testsuites/libtests/dl02/init.c +++ b/testsuites/libtests/dl02/init.c @@ -7,7 +7,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/dl03/dl-bit-alloc.c b/testsuites/libtests/dl03/dl-bit-alloc.c index 210f826f03..e4e3cf4c82 100644 --- a/testsuites/libtests/dl03/dl-bit-alloc.c +++ b/testsuites/libtests/dl03/dl-bit-alloc.c @@ -7,7 +7,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/dl03/dl-cache.c b/testsuites/libtests/dl03/dl-cache.c index 53c4fe7401..f29531b40b 100644 --- a/testsuites/libtests/dl03/dl-cache.c +++ b/testsuites/libtests/dl03/dl-cache.c @@ -7,7 +7,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/dl03/init.c b/testsuites/libtests/dl03/init.c index d7242b744a..4fc0b768f9 100644 --- a/testsuites/libtests/dl03/init.c +++ b/testsuites/libtests/dl03/init.c @@ -7,7 +7,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/dl04/dl-load.c b/testsuites/libtests/dl04/dl-load.c index 38810f48a9..9e383a00fb 100644 --- a/testsuites/libtests/dl04/dl-load.c +++ b/testsuites/libtests/dl04/dl-load.c @@ -7,7 +7,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/dl04/init.c b/testsuites/libtests/dl04/init.c index 00fe74026c..467d28f30a 100644 --- a/testsuites/libtests/dl04/init.c +++ b/testsuites/libtests/dl04/init.c @@ -7,7 +7,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/dl05/dl-load.c b/testsuites/libtests/dl05/dl-load.c index 58704c4d14..11d1404900 100644 --- a/testsuites/libtests/dl05/dl-load.c +++ b/testsuites/libtests/dl05/dl-load.c @@ -7,7 +7,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/dl05/init.c b/testsuites/libtests/dl05/init.c index 578105c5f2..693ed65172 100644 --- a/testsuites/libtests/dl05/init.c +++ b/testsuites/libtests/dl05/init.c @@ -7,7 +7,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/dl06/initimpl.h b/testsuites/libtests/dl06/initimpl.h index e3500a11c1..2611124287 100644 --- a/testsuites/libtests/dl06/initimpl.h +++ b/testsuites/libtests/dl06/initimpl.h @@ -7,7 +7,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/dl07/init.c b/testsuites/libtests/dl07/init.c index 732e0f5387..40cca25202 100644 --- a/testsuites/libtests/dl07/init.c +++ b/testsuites/libtests/dl07/init.c @@ -7,7 +7,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/dl08/init.c b/testsuites/libtests/dl08/init.c index 345fe27ee7..a675464146 100644 --- a/testsuites/libtests/dl08/init.c +++ b/testsuites/libtests/dl08/init.c @@ -7,7 +7,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/dl09/init.c b/testsuites/libtests/dl09/init.c index 56492607c7..a95a57ad45 100644 --- a/testsuites/libtests/dl09/init.c +++ b/testsuites/libtests/dl09/init.c @@ -7,7 +7,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/dl10/init.c b/testsuites/libtests/dl10/init.c index c891d82e04..b488a321ab 100644 --- a/testsuites/libtests/dl10/init.c +++ b/testsuites/libtests/dl10/init.c @@ -7,7 +7,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/exit01/init.c b/testsuites/libtests/exit01/init.c index f8784ecb67..9e2c61b493 100644 --- a/testsuites/libtests/exit01/init.c +++ b/testsuites/libtests/exit01/init.c @@ -13,7 +13,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/exit02/init.c b/testsuites/libtests/exit02/init.c index 67eb1c93f7..f9be68b3b5 100644 --- a/testsuites/libtests/exit02/init.c +++ b/testsuites/libtests/exit02/init.c @@ -13,7 +13,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/flashdisk01/init.c b/testsuites/libtests/flashdisk01/init.c index 18ab4e97c4..b85279aa6b 100644 --- a/testsuites/libtests/flashdisk01/init.c +++ b/testsuites/libtests/flashdisk01/init.c @@ -13,7 +13,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/getentropy01/init.c b/testsuites/libtests/getentropy01/init.c index aea2e8bc73..4986ddfa86 100644 --- a/testsuites/libtests/getentropy01/init.c +++ b/testsuites/libtests/getentropy01/init.c @@ -13,7 +13,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/i2c01/init.c b/testsuites/libtests/i2c01/init.c index 02a3558611..83027ed548 100644 --- a/testsuites/libtests/i2c01/init.c +++ b/testsuites/libtests/i2c01/init.c @@ -13,7 +13,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include diff --git a/testsuites/libtests/libfdt01/init.c b/testsuites/libtests/libfdt01/init.c index 1918505ffe..b1568d9c04 100644 --- a/testsuites/libtests/libfdt01/init.c +++ b/testsuites/libtests/libfdt01/init.c @@ -13,7 +13,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/math/domath.c b/testsuites/libtests/math/domath.c index 3485fb210c..36b4538a8b 100644 --- a/testsuites/libtests/math/domath.c +++ b/testsuites/libtests/math/domath.c @@ -11,7 +11,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #ifdef NO_DOUBLE diff --git a/testsuites/libtests/mathf/domathf.c b/testsuites/libtests/mathf/domathf.c index 3aece952d7..831e9d623f 100644 --- a/testsuites/libtests/mathf/domathf.c +++ b/testsuites/libtests/mathf/domathf.c @@ -11,7 +11,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #ifdef NO_FLOAT diff --git a/testsuites/libtests/mathl/domathl.c b/testsuites/libtests/mathl/domathl.c index 0781577d28..9d40d82de1 100644 --- a/testsuites/libtests/mathl/domathl.c +++ b/testsuites/libtests/mathl/domathl.c @@ -11,7 +11,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif /* FIXME: Why is this defined? */ diff --git a/testsuites/libtests/md501/init.c b/testsuites/libtests/md501/init.c index 678dc0bc0b..da14ea4d7a 100644 --- a/testsuites/libtests/md501/init.c +++ b/testsuites/libtests/md501/init.c @@ -13,7 +13,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/mghttpd01/init.c b/testsuites/libtests/mghttpd01/init.c index 75c2d8d8d7..93d42e174a 100644 --- a/testsuites/libtests/mghttpd01/init.c +++ b/testsuites/libtests/mghttpd01/init.c @@ -13,7 +13,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include diff --git a/testsuites/libtests/newlib01/init.c b/testsuites/libtests/newlib01/init.c index 529531eb24..383abf41f6 100644 --- a/testsuites/libtests/newlib01/init.c +++ b/testsuites/libtests/newlib01/init.c @@ -13,7 +13,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include diff --git a/testsuites/libtests/pwdgrp01/init.c b/testsuites/libtests/pwdgrp01/init.c index ebdd6903e3..254eb695ef 100644 --- a/testsuites/libtests/pwdgrp01/init.c +++ b/testsuites/libtests/pwdgrp01/init.c @@ -13,7 +13,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include diff --git a/testsuites/libtests/pwdgrp02/init.c b/testsuites/libtests/pwdgrp02/init.c index 82aa8628a3..85770a7a8d 100644 --- a/testsuites/libtests/pwdgrp02/init.c +++ b/testsuites/libtests/pwdgrp02/init.c @@ -13,7 +13,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include diff --git a/testsuites/libtests/rbheap01/init.c b/testsuites/libtests/rbheap01/init.c index 35114df805..71429dfba4 100644 --- a/testsuites/libtests/rbheap01/init.c +++ b/testsuites/libtests/rbheap01/init.c @@ -13,7 +13,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/sha/init.c b/testsuites/libtests/sha/init.c index bc64edf5d1..78e09a71ed 100644 --- a/testsuites/libtests/sha/init.c +++ b/testsuites/libtests/sha/init.c @@ -13,7 +13,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include diff --git a/testsuites/libtests/shell01/init.c b/testsuites/libtests/shell01/init.c index 5085c3c803..a69bbc0cdb 100644 --- a/testsuites/libtests/shell01/init.c +++ b/testsuites/libtests/shell01/init.c @@ -13,7 +13,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include diff --git a/testsuites/libtests/sparsedisk01/init.c b/testsuites/libtests/sparsedisk01/init.c index b93b817121..abb1ee394b 100644 --- a/testsuites/libtests/sparsedisk01/init.c +++ b/testsuites/libtests/sparsedisk01/init.c @@ -13,7 +13,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include diff --git a/testsuites/libtests/spi01/init.c b/testsuites/libtests/spi01/init.c index 8de4f498ed..a32f34b5c0 100644 --- a/testsuites/libtests/spi01/init.c +++ b/testsuites/libtests/spi01/init.c @@ -13,7 +13,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include diff --git a/testsuites/libtests/syscall01/init.c b/testsuites/libtests/syscall01/init.c index f2ddbbeb97..788a293274 100644 --- a/testsuites/libtests/syscall01/init.c +++ b/testsuites/libtests/syscall01/init.c @@ -13,7 +13,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" diff --git a/testsuites/libtests/utf8proc01/init.c b/testsuites/libtests/utf8proc01/init.c index 50d75c6338..48120dd198 100644 --- a/testsuites/libtests/utf8proc01/init.c +++ b/testsuites/libtests/utf8proc01/init.c @@ -13,7 +13,7 @@ */ #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include "tmacros.h" -- cgit v1.2.3