summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
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 /src/H5private.h
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 'src/H5private.h')
-rw-r--r--src/H5private.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/H5private.h b/src/H5private.h
index a0b4e8e..7888772 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -41,10 +41,6 @@
#endif /* H5_HAVE_WIN32_API */
#endif /* H5_HAVE_THREADSAFE */
-/*
- * Include ANSI-C header files.
- */
-#ifdef H5_STDC_HEADERS
#include <assert.h>
#include <ctype.h>
#include <errno.h>
@@ -56,7 +52,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#endif
/*
* If _POSIX_VERSION is defined in unistd.h then this system is Posix.1
@@ -71,14 +66,7 @@
#include <pwd.h>
#endif
-/*
- * C9x integer types
- */
-#ifndef __cplusplus
-#ifdef H5_HAVE_STDINT_H
#include <stdint.h>
-#endif
-#endif
/*
* The `struct stat' data type for stat() and fstat(). This is a Posix file