From deb76321d1034ade3b227dcd5fceb969860270ed Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 16 Nov 2009 11:29:40 -0500 Subject: [PATCH] Include test.h first in test main.c sources This change makes the main.c source for each test executable consistent with the other test sources. It also ensures that config.h (through test.h) is included before system headers, thus configuring system header feature macros correctly. SVN-Revision: 1660 --- cpio/test/main.c | 2 +- libarchive/test/main.c | 2 +- tar/test/main.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cpio/test/main.c b/cpio/test/main.c index 2091b5225..34a52a5cc 100644 --- a/cpio/test/main.c +++ b/cpio/test/main.c @@ -23,11 +23,11 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include "test.h" #include #include #include #include -#include "test.h" /* * This same file is used pretty much verbatim for all test harnesses. diff --git a/libarchive/test/main.c b/libarchive/test/main.c index 9183cfafe..47b5838db 100644 --- a/libarchive/test/main.c +++ b/libarchive/test/main.c @@ -23,11 +23,11 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include "test.h" #include #include #include #include -#include "test.h" /* * This same file is used pretty much verbatim for all test harnesses. diff --git a/tar/test/main.c b/tar/test/main.c index b188cc853..faed3ac46 100644 --- a/tar/test/main.c +++ b/tar/test/main.c @@ -23,11 +23,11 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include "test.h" #include #include #include #include -#include "test.h" /* * This same file is used pretty much verbatim for all test harnesses. -- 2.47.3