summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2016-08-01 17:38:34 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2016-08-01 17:38:34 (GMT)
commitbac4cf8e92b8cd033c40160bde0f2b27fa648a5c (patch)
treeb5082f09dbb521a31d4a0156240bc6a688273044 /test
parente55844b7523676c381eb22f638369a794021d798 (diff)
downloadhdf5-bac4cf8e92b8cd033c40160bde0f2b27fa648a5c.zip
hdf5-bac4cf8e92b8cd033c40160bde0f2b27fa648a5c.tar.gz
hdf5-bac4cf8e92b8cd033c40160bde0f2b27fa648a5c.tar.bz2
[svn-r30238] Follow-on to HDFFV-9928: remove unconditional call of time.h type headers. Also remove duplicated includes when h5private.h is used.
Diffstat (limited to 'test')
-rw-r--r--test/dt_arith.c2
-rw-r--r--test/dtypes.c2
-rw-r--r--test/gen_plist.c5
-rw-r--r--test/objcopy.c1
-rw-r--r--test/theap.c3
-rw-r--r--test/tskiplist.c3
-rw-r--r--test/ttst.c3
-rw-r--r--test/tunicode.c4
-rw-r--r--test/unlink.c1
9 files changed, 0 insertions, 24 deletions
diff --git a/test/dt_arith.c b/test/dt_arith.c
index e258b77..064ee69 100644
--- a/test/dt_arith.c
+++ b/test/dt_arith.c
@@ -20,8 +20,6 @@
* Purpose: Tests the data type interface (H5T)
*/
-#include <math.h>
-#include <time.h>
#include "h5test.h"
/* Number of elements in each random test */
diff --git a/test/dtypes.c b/test/dtypes.c
index 984b6c6..255ef8e 100644
--- a/test/dtypes.c
+++ b/test/dtypes.c
@@ -20,8 +20,6 @@
* Purpose: Tests the datatype interface (H5T)
*/
-#include <math.h>
-#include <time.h>
#include "h5test.h"
#include "H5srcdir.h"
#include "H5Iprivate.h" /* For checking that datatype id's don't leak */
diff --git a/test/gen_plist.c b/test/gen_plist.c
index b45eeeb..c617ad0 100644
--- a/test/gen_plist.c
+++ b/test/gen_plist.c
@@ -17,11 +17,6 @@
* generate plist file
*/
-#include <assert.h>
-#include <fcntl.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <unistd.h>
#include "H5private.h"
#include "hdf5.h"
diff --git a/test/objcopy.c b/test/objcopy.c
index 1c95dc7..33ba3f5 100644
--- a/test/objcopy.c
+++ b/test/objcopy.c
@@ -20,7 +20,6 @@
* Purpose: Test H5Ocopy().
*/
-#include <time.h>
#include "h5test.h"
#include "H5srcdir.h"
diff --git a/test/theap.c b/test/theap.c
index 230ec4d..2d509bf 100644
--- a/test/theap.c
+++ b/test/theap.c
@@ -31,9 +31,6 @@
2/18/03 - Started coding
*/
-#include <time.h>
-#include <stdlib.h>
-
#include "testhdf5.h"
#include "H5HPprivate.h"
diff --git a/test/tskiplist.c b/test/tskiplist.c
index 62c5f8e..f413674 100644
--- a/test/tskiplist.c
+++ b/test/tskiplist.c
@@ -31,9 +31,6 @@
11/15/04 - Started coding
*/
-#include <time.h>
-#include <stdlib.h>
-
#include "testhdf5.h"
#include "H5SLprivate.h"
diff --git a/test/ttst.c b/test/ttst.c
index b869b63..0c47dad 100644
--- a/test/ttst.c
+++ b/test/ttst.c
@@ -33,9 +33,6 @@
12/9/02 - Started coding
*/
-#include <time.h>
-#include <stdlib.h>
-
#include "testhdf5.h"
#include "H5STprivate.h"
diff --git a/test/tunicode.c b/test/tunicode.c
index 93c00c5..68e9073 100644
--- a/test/tunicode.c
+++ b/test/tunicode.c
@@ -14,10 +14,6 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* Unicode test */
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <time.h>
#include "testhdf5.h"
#define NUM_CHARS 16
diff --git a/test/unlink.c b/test/unlink.c
index 7169365..9222596 100644
--- a/test/unlink.c
+++ b/test/unlink.c
@@ -25,7 +25,6 @@
/* Define this macro to indicate that the testing APIs should be available */
#define H5G_TESTING
-#include <time.h>
#include "h5test.h"
#include "H5Gpkg.h" /* Groups */