diff options
author | David Young <dyoung@hdfgroup.org> | 2019-09-26 21:49:45 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2019-09-26 21:49:45 (GMT) |
commit | a68c2c92c3c0896cb83d2f9e85e69ecfd8744e4c (patch) | |
tree | 96540fb2fc2bd6f2211965d1b699e701410b9367 /src | |
parent | e4f9e45399f82d09510477d8d6e45438c08888cd (diff) | |
download | hdf5-a68c2c92c3c0896cb83d2f9e85e69ecfd8744e4c.zip hdf5-a68c2c92c3c0896cb83d2f9e85e69ecfd8744e4c.tar.gz hdf5-a68c2c92c3c0896cb83d2f9e85e69ecfd8744e4c.tar.bz2 |
Oops, straggler from last: rename the nanosecond constants. While I am
here, delete dead code.
Diffstat (limited to 'src')
-rw-r--r-- | src/H5private.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/H5private.h b/src/H5private.h index 6614ea9..9506497 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -375,12 +375,8 @@ # define H5_EXP2(n) (1 << (n)) /* VFD SWMR */ -#define SECOND_TO_NANOSECS 1000000000 /* Second to nanoseconds */ -#define TENTH_SEC_TO_NANOSECS 100000000 /* 0.1 second to nanoseconds */ -#if 0 /* use gettimeofday() */ /* JRM */ -#define SECOND_TO_MICROSECS 1000000 /* Second to microseconds */ -#define TENTH_SEC_TO_MICROSECS 100000 /* 0.1 second to microseconds */ -#endif /* use gettimeofday() */ /* JRM */ +#define nanosecs_per_second 1000000000 /* nanoseconds per second */ +#define nanosecs_per_tenth_sec 100000000 /* nanoseconds per 0.1 second */ /* * HDF Boolean type. |