summaryrefslogtreecommitdiffstats
path: root/src/H5public.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@lbl.gov>2020-11-30 23:25:40 (GMT)
committerGitHub <noreply@github.com>2020-11-30 23:25:40 (GMT)
commitff04956a6cbdda015cb6c5239d7d6007976fd2a4 (patch)
tree7b99577556c6336d79f4beaca0df7c898b2dad08 /src/H5public.h
parent71a42ab05e4c16f8d2915ddc131ef5892ddf9a24 (diff)
downloadhdf5-ff04956a6cbdda015cb6c5239d7d6007976fd2a4.zip
hdf5-ff04956a6cbdda015cb6c5239d7d6007976fd2a4.tar.gz
hdf5-ff04956a6cbdda015cb6c5239d7d6007976fd2a4.tar.bz2
Basic alignment with async branch (#115) (#137)
* Basic alignment with async branch - trivial changes to reduce clutter in overall diff. * Update minor error code to reflect change within library * Update the error output to match library
Diffstat (limited to 'src/H5public.h')
-rw-r--r--src/H5public.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/H5public.h b/src/H5public.h
index 44e0d94..9e31cbe 100644
--- a/src/H5public.h
+++ b/src/H5public.h
@@ -176,15 +176,15 @@ typedef long long ssize_t;
*/
#if H5_SIZEOF_INT64_T >= 8
#elif H5_SIZEOF_INT >= 8
-typedef int int64_t;
+typedef int int64_t;
#undef H5_SIZEOF_INT64_T
#define H5_SIZEOF_INT64_T H5_SIZEOF_INT
#elif H5_SIZEOF_LONG >= 8
-typedef long int64_t;
+typedef long int64_t;
#undef H5_SIZEOF_INT64_T
#define H5_SIZEOF_INT64_T H5_SIZEOF_LONG
#elif H5_SIZEOF_LONG_LONG >= 8
-typedef long long int64_t;
+typedef long long int64_t;
#undef H5_SIZEOF_INT64_T
#define H5_SIZEOF_INT64_T H5_SIZEOF_LONG_LONG
#else
@@ -199,12 +199,12 @@ typedef long long int64_t;
#define UINT64_MAX ((uint64_t)-1)
#endif
#elif H5_SIZEOF_INT >= 8
-typedef unsigned uint64_t;
+typedef unsigned uint64_t;
#define UINT64_MAX UINT_MAX
#undef H5_SIZEOF_UINT64_T
#define H5_SIZEOF_UINT64_T H5_SIZEOF_INT
#elif H5_SIZEOF_LONG >= 8
-typedef unsigned long uint64_t;
+typedef unsigned long uint64_t;
#define UINT64_MAX ULONG_MAX
#undef H5_SIZEOF_UINT64_T
#define H5_SIZEOF_UINT64_T H5_SIZEOF_LONG
@@ -289,15 +289,15 @@ typedef unsigned long long haddr_t;
*/
#if H5_SIZEOF_UINT32_T >= 4
#elif H5_SIZEOF_SHORT >= 4
-typedef short uint32_t;
+typedef short uint32_t;
#undef H5_SIZEOF_UINT32_T
#define H5_SIZEOF_UINT32_T H5_SIZEOF_SHORT
#elif H5_SIZEOF_INT >= 4
-typedef unsigned int uint32_t;
+typedef unsigned int uint32_t;
#undef H5_SIZEOF_UINT32_T
#define H5_SIZEOF_UINT32_T H5_SIZEOF_INT
#elif H5_SIZEOF_LONG >= 4
-typedef unsigned long uint32_t;
+typedef unsigned long uint32_t;
#undef H5_SIZEOF_UINT32_T
#define H5_SIZEOF_UINT32_T H5_SIZEOF_LONG
#else
@@ -719,7 +719,7 @@ H5_DLL herr_t H5free_memory(void *mem);
* \since 1.8.15
*
*/
-H5_DLL void * H5allocate_memory(size_t size, hbool_t clear);
+H5_DLL void *H5allocate_memory(size_t size, hbool_t clear);
/**
* \ingroup H5
* \brief Resizes and, if required, re-allocates memory that will later be
@@ -793,7 +793,7 @@ H5_DLL void * H5allocate_memory(size_t size, hbool_t clear);
* \since 1.8.15
*
*/
-H5_DLL void * H5resize_memory(void *mem, size_t size);
+H5_DLL void *H5resize_memory(void *mem, size_t size);
#ifdef __cplusplus
}