diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2015-11-20 14:43:58 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2015-11-20 14:43:58 (GMT) |
commit | 5c6f1819d5033b2443a165b12b81b0343bec6456 (patch) | |
tree | ac156daf325d26a70f668484d21f62be644025ad /src/H5private.h | |
parent | 54aa68df1a29ab8e8b871eb176238e64bad2b369 (diff) | |
download | hdf5-5c6f1819d5033b2443a165b12b81b0343bec6456.zip hdf5-5c6f1819d5033b2443a165b12b81b0343bec6456.tar.gz hdf5-5c6f1819d5033b2443a165b12b81b0343bec6456.tar.bz2 |
[svn-r28416] Description:
Refactor time conversion code to put all the system-specific changes into
one routine, H5_make_time, in H5system.c.
Tested on:
MacOSX/64 10.11.1 (amazon) w/serial & parallel
(h5committest forthcoming)
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/H5private.h b/src/H5private.h index b678512..837ca75 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -935,14 +935,6 @@ H5_DLL int HDfprintf (FILE *stream, const char *fmt, ...); #ifndef HDgets #define HDgets(S) gets(S) #endif /* HDgets */ -#ifndef H5_HAVE_TM_GMTOFF -#ifdef H5_HAVE_TIMEZONE - #ifndef HDgettimezone - #define HDgettimezone() HDget_timezone() - #endif /* HDgettimezone */ - H5_DLL long int HDget_timezone(void); -#endif /* H5_HAVE_TIMEZONE */ -#endif /* H5_HAVE_TM_GMTOFF */ #ifndef HDgettimeofday #define HDgettimeofday(S,P) gettimeofday(S,P) #endif /* HDgettimeofday */ @@ -2505,6 +2497,9 @@ H5_DLL uint32_t H5_checksum_lookup3(const void *data, size_t len, uint32_t initv H5_DLL uint32_t H5_checksum_metadata(const void *data, size_t len, uint32_t initval); H5_DLL uint32_t H5_hash_string(const char *str); +/* Time related routines */ +H5_DLL time_t H5_make_time(struct tm *tm); + /* Functions for building paths, etc. */ H5_DLL herr_t H5_build_extpath(const char *, char ** /*out*/ ); |