summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2019-09-26 21:49:45 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2019-09-26 21:49:45 (GMT)
commita68c2c92c3c0896cb83d2f9e85e69ecfd8744e4c (patch)
tree96540fb2fc2bd6f2211965d1b699e701410b9367 /src/H5private.h
parente4f9e45399f82d09510477d8d6e45438c08888cd (diff)
downloadhdf5-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/H5private.h')
-rw-r--r--src/H5private.h8
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.