summaryrefslogtreecommitdiffstats
path: root/config/cmake_ext_mod/HDFTests.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2021-05-28 12:48:29 (GMT)
committerGitHub <noreply@github.com>2021-05-28 12:48:29 (GMT)
commite60ac6ec2d82fc1bcffcfecd353ff074f9011275 (patch)
tree6ca93dbbb1ced5690bdd1f7ba4328fc8af0016a6 /config/cmake_ext_mod/HDFTests.c
parent4454fca02a57663ea0dbcca01016788bd11703b9 (diff)
downloadhdf5-e60ac6ec2d82fc1bcffcfecd353ff074f9011275.zip
hdf5-e60ac6ec2d82fc1bcffcfecd353ff074f9011275.tar.gz
hdf5-e60ac6ec2d82fc1bcffcfecd353ff074f9011275.tar.bz2
Removes pre-C99 build and header cruft (#700)
* Committing clang-format changes * Removes pre-C99 build and header cruft * Assumes ANSI C headers exist * Assumes stdbool.h, stdint.h, and inttypes.h are present * Assumes the C++ compiler can handle stdint.h * Removes all work-arounds for missing functionality, especially stdbool.h * Formats source Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'config/cmake_ext_mod/HDFTests.c')
-rw-r--r--config/cmake_ext_mod/HDFTests.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/config/cmake_ext_mod/HDFTests.c b/config/cmake_ext_mod/HDFTests.c
index 2d7e1b4..0c3b7b7 100644
--- a/config/cmake_ext_mod/HDFTests.c
+++ b/config/cmake_ext_mod/HDFTests.c
@@ -88,14 +88,6 @@ int main(void)
}
#endif
-#ifdef STDC_HEADERS
-#include <stdlib.h>
-#include <stdarg.h>
-#include <string.h>
-#include <float.h>
-int main() { return 0; }
-#endif /* STDC_HEADERS */
-
#ifdef HAVE_ATTRIBUTE