diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2021-03-05 04:30:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-05 04:30:09 (GMT) |
commit | e84e5ee4672e22753a4d3d600dca2d5291953d78 (patch) | |
tree | cd9611a0a8bd16af9b372cd5f610750ca61d081a /src/H5win32defs.h | |
parent | 580008d5bb39e3a9a4a92aefe06dce6941cd485b (diff) | |
download | hdf5-e84e5ee4672e22753a4d3d600dca2d5291953d78.zip hdf5-e84e5ee4672e22753a4d3d600dca2d5291953d78.tar.gz hdf5-e84e5ee4672e22753a4d3d600dca2d5291953d78.tar.bz2 |
Fixes various warnings noticed on Windows (#425)
* Fixes various warnings noticed on Windows
- Adds a prototype for our implementation of vasprintf
- Return type of H5_get_utf16_str() is now non-const
- Fixes possible uninitialized return type in Wremove_utf8
- Better isolation of fork() code in accum.c:test_swmr_write_big()
- Better isolation of non-zlib code in dsets.c:test_filter_delete()
- Removed unused variable in trefer.c:test_reference_cmpnd_obj()
* Fixes clang-format issues
Diffstat (limited to 'src/H5win32defs.h')
-rw-r--r-- | src/H5win32defs.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/H5win32defs.h b/src/H5win32defs.h index b4b253f..8f3947a 100644 --- a/src/H5win32defs.h +++ b/src/H5win32defs.h @@ -176,9 +176,10 @@ H5_DLL int c99_snprintf(char *str, size_t size, const char *format, ...); H5_DLL int c99_vsnprintf(char *str, size_t size, const char *format, va_list ap); H5_DLL int Wnanosleep(const struct timespec *req, struct timespec *rem); H5_DLL herr_t H5_expand_windows_env_vars(char **env_var); -H5_DLL const wchar_t *H5_get_utf16_str(const char *s); -H5_DLL int Wopen_utf8(const char *path, int oflag, ...); -H5_DLL int Wremove_utf8(const char *path); +H5_DLL wchar_t *H5_get_utf16_str(const char *s); +H5_DLL int Wopen_utf8(const char *path, int oflag, ...); +H5_DLL int Wremove_utf8(const char *path); +H5_DLL int H5_get_win32_times(H5_timevals_t *tvs); /* Round functions only needed for VS2012 and earlier. * They are always built to ensure they don't go stale and |