+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
/* Written by Jim Meyering. */
#include <config.h>
+
+#include "argv-iter.h"
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
} \
while (0)
-#include "argv-iter.h"
-
static FILE *
write_nul_delimited_argv (char **argv)
{
#include <config.h>
+#include "base64.h"
+
#include <stddef.h>
#include <stdio.h>
#include <stdbool.h>
#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
#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 \
{ \
#include <config.h>
+#include <unistd.h>
+
#include <errno.h>
#include <stdio.h>
#include <fcntl.h>
-#include <unistd.h>
#define ASSERT(expr) \
do \
#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 \
{ \
#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
#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
#include <config.h>
-#include <float.h>
-#include <limits.h>
#include <math.h>
+#include <float.h>
+#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
/* 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
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
+
#include <stdlib.h>
+
#include <stdio.h>
#include <time.h>
#include <config.h>
+#include <string.h>
+
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#define ASSERT(expr) \
do \
#include <config.h>
+#include <string.h>
+
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#define ASSERT(expr) \
do \