summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2021-03-12 14:56:09 (GMT)
committerGitHub <noreply@github.com>2021-03-12 14:56:09 (GMT)
commit24c83cf73ebb80a58ce92463dac02713d3a4dbf8 (patch)
tree8b595b08c4c7200af144923ecda176aa43dd0959 /src/H5private.h
parent748da20bbc42aa119305ee84f863361816e1517e (diff)
downloadhdf5-24c83cf73ebb80a58ce92463dac02713d3a4dbf8.zip
hdf5-24c83cf73ebb80a58ce92463dac02713d3a4dbf8.tar.gz
hdf5-24c83cf73ebb80a58ce92463dac02713d3a4dbf8.tar.bz2
Removed workarounds for pre-standard inline keyword (#423)
Fixes -Wreserved-identifier warnings due to multiple underscores in H5_HAVE___INLINE.
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 64ab988..0d6377c 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -190,23 +190,6 @@
#endif /*H5_HAVE_WIN32_API*/
-/* Various ways that inline functions can be declared */
-#if defined(H5_HAVE___INLINE__)
-/* GNU (alternative form) */
-#define H5_INLINE __inline__
-#elif defined(H5_HAVE___INLINE)
-/* Visual Studio */
-#define H5_INLINE __inline
-#elif defined(H5_HAVE_INLINE)
-/* GNU, C++
- * Use "inline" as a last resort on the off-chance that there will
- * be C++ problems.
- */
-#define H5_INLINE inline
-#else
-#define H5_INLINE
-#endif /* inline choices */
-
#ifndef F_OK
#define F_OK 00
#define W_OK 02