summaryrefslogtreecommitdiffstats
path: root/config/cmake_ext_mod/HDFTests.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2021-06-23 03:29:52 (GMT)
committerGitHub <noreply@github.com>2021-06-23 03:29:52 (GMT)
commit82c8013a2db4d9a105b5079542526c0bb6c001bf (patch)
treeb0aef2a933c952a4d0b0f5d3464448d3a764b990 /config/cmake_ext_mod/HDFTests.c
parente25fa1c619017814718a4ae7cae92fb418aa5445 (diff)
downloadhdf5-82c8013a2db4d9a105b5079542526c0bb6c001bf.zip
hdf5-82c8013a2db4d9a105b5079542526c0bb6c001bf.tar.gz
hdf5-82c8013a2db4d9a105b5079542526c0bb6c001bf.tar.bz2
Removes outdated checks for ways inline might be defined (#781)
These are obsolete now that we require C99.
Diffstat (limited to 'config/cmake_ext_mod/HDFTests.c')
-rw-r--r--config/cmake_ext_mod/HDFTests.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/config/cmake_ext_mod/HDFTests.c b/config/cmake_ext_mod/HDFTests.c
index b8a6af1..365931b 100644
--- a/config/cmake_ext_mod/HDFTests.c
+++ b/config/cmake_ext_mod/HDFTests.c
@@ -331,20 +331,3 @@ int main ()
}
#endif /* HAVE_IOEO */
-
-#if defined( HAVE_INLINE ) || defined( HAVE___INLINE__ ) || defined( HAVE___INLINE )
-#ifndef __cplusplus
-#if defined( HAVE_INLINE )
-# define INLINE_KW inline
-#elif defined ( HAVE___INLINE__ )
-# define INLINE_KW __inline__
-#elif defined ( HAVE___INLINE )
-# define INLINE_KW __inline
-#endif /* HAVE_INLINE */
-typedef int foo_t;
-static INLINE_KW foo_t static_foo () { return 0; }
-INLINE_KW foo_t foo () {return 0; }
-int main(void) { return 0; }
-#endif /* __cplusplus */
-#endif /* defined( HAVE_INLINE ) || defined( HAVE___INLINE__ ) || defined( HAVE___INLINE ) */
-