summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-02-23 06:56:16 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-02-23 06:56:16 (GMT)
commit7e220930da7e77df1531329d8897befa0dc6399f (patch)
tree12f84783be1e29da4ede9caf29a1c29b1c8f7e50 /testpar
parent7c134068147c8313fb4303b4d6608a665880e22e (diff)
downloadhdf5-7e220930da7e77df1531329d8897befa0dc6399f.zip
hdf5-7e220930da7e77df1531329d8897befa0dc6399f.tar.gz
hdf5-7e220930da7e77df1531329d8897befa0dc6399f.tar.bz2
[svn-r26276] Merged r26075-80, 86 from features/autotools_rework branch.
Cleans up time functions in the autotools input files. Removed deprecated gettimeofday() time zone code and configure processing. Also removed some unused time function configure checks and defines. Fixes: HDFFV-9083 and HDFFV-9085 Tested on: 32-bit linux, serial and parallel (jam) OS X (kite) Solaris (emu)
Diffstat (limited to 'testpar')
-rw-r--r--testpar/t_cache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/testpar/t_cache.c b/testpar/t_cache.c
index 20fb9fd..f526a8b 100644
--- a/testpar/t_cache.c
+++ b/testpar/t_cache.c
@@ -4245,7 +4245,6 @@ setup_rand(void)
unsigned predefined_seeds[3] = {33402, 33505, 33422};
unsigned seed;
struct timeval tv;
- struct timezone tz;
if ( ( use_predefined_seeds ) &&
( world_mpi_size == num_predefined_seeds ) ) {
@@ -4261,7 +4260,7 @@ setup_rand(void)
} else {
- if ( HDgettimeofday(&tv, &tz) != 0 ) {
+ if ( HDgettimeofday(&tv, NULL) != 0 ) {
nerrors++;
if ( verbose ) {