Commit 3e2d7ac6 authored by Bruno Haible's avatar Bruno Haible

Include header file being tested immediately after config.h.

parent 86c22b43
2009-12-24 Bruno Haible <bruno@clisp.org>
* tests/test-argv-iter.c: Include header file being tested immediately
after config.h.
* tests/test-base64.c: Likewise.
* tests/test-flock.c: Likewise.
* tests/test-fsync.c: Likewise.
* tests/test-getdate.c: Likewise.
* tests/test-getndelim2.c: Likewise.
* tests/test-isfinite.c: Likewise.
* tests/test-isinf.c: Likewise.
* tests/test-strerror.c: Likewise.
* tests/test-strsignal.c: Likewise.
2009-12-23 Eric Blake <ebb9@byu.net>
unistd: work around cygwin bug
......@@ -17,6 +17,9 @@
/* Written by Jim Meyering. */
#include <config.h>
#include "argv-iter.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
......@@ -35,8 +38,6 @@
} \
while (0)
#include "argv-iter.h"
static FILE *
write_nul_delimited_argv (char **argv)
{
......
......@@ -17,6 +17,8 @@
#include <config.h>
#include "base64.h"
#include <stddef.h>
#include <stdio.h>
#include <stdbool.h>
......@@ -24,8 +26,6 @@
#include <string.h>
#include <stdint.h>
#include "base64.h"
#define ASSERT(expr) \
do \
{ \
......
/* Test of flock() function.
Copyright (C) 2008 Free Software Foundation, Inc.
Copyright (C) 2008-2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -16,14 +16,14 @@
#include <config.h>
#include <sys/file.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <sys/file.h>
#define ASSERT(expr) \
do \
{ \
......
......@@ -16,10 +16,11 @@
#include <config.h>
#include <unistd.h>
#include <errno.h>
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#define ASSERT(expr) \
do \
......
......@@ -19,14 +19,14 @@
#include <config.h>
#include "getdate.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "progname.h"
#include "getdate.h"
#define ASSERT(expr) \
do \
{ \
......
......@@ -19,12 +19,12 @@
#include <config.h>
#include "getndelim2.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "getndelim2.h"
#define ASSERT(expr) \
do \
{ \
......
/* Test of isfinite() substitute.
Copyright (C) 2007-2008 Free Software Foundation, Inc.
Copyright (C) 2007-2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -19,10 +19,10 @@
#include <config.h>
#include <float.h>
#include <limits.h>
#include <math.h>
#include <float.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
......
/* Test of isinf() substitute.
Copyright (C) 2007-2008 Free Software Foundation, Inc.
Copyright (C) 2007-2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -19,10 +19,10 @@
#include <config.h>
#include <float.h>
#include <limits.h>
#include <math.h>
#include <float.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
......
......@@ -17,6 +17,7 @@
/* Written by David Bartley <dtbartle@csclub.uwaterloo.ca>, 2007. */
#include <config.h>
#include "priv-set.h"
#if HAVE_GETPPRIV
......
/* Test random_r.
Copyright (C) 2008 Free Software Foundation, Inc.
Copyright (C) 2008-2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -15,7 +15,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
......
......@@ -19,10 +19,11 @@
#include <config.h>
#include <string.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define ASSERT(expr) \
do \
......
......@@ -19,10 +19,11 @@
#include <config.h>
#include <string.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define ASSERT(expr) \
do \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment