summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2021-03-01 20:45:20 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2021-03-01 20:45:20 (GMT)
commit77f2b0b2071b976a42c41fbddad28ed7823675c2 (patch)
tree967dff385afae498d1d2acace2b6bd01519eadd3
parent0e9f9a280af0e4944c18996beb6e110f48fe841e (diff)
downloadhdf5-77f2b0b2071b976a42c41fbddad28ed7823675c2.zip
hdf5-77f2b0b2071b976a42c41fbddad28ed7823675c2.tar.gz
hdf5-77f2b0b2071b976a42c41fbddad28ed7823675c2.tar.bz2
Fixes leading underscores in VFD SWMR include guards
-rw-r--r--src/H5FDvfd_swmr.h3
-rw-r--r--src/H5FDvfd_swmr_private.h6
-rw-r--r--src/H5queue.h6
-rw-r--r--src/hlog.h6
-rw-r--r--test/vfd_swmr_common.h6
5 files changed, 13 insertions, 14 deletions
diff --git a/src/H5FDvfd_swmr.h b/src/H5FDvfd_swmr.h
index 86e9d0f..fd5c0bd 100644
--- a/src/H5FDvfd_swmr.h
+++ b/src/H5FDvfd_swmr.h
@@ -34,5 +34,4 @@ H5_DLL herr_t H5Pset_fapl_vfd_swmr(hid_t fapl_id);
}
#endif
-#endif
-
+#endif /* H5FDswmr_H */
diff --git a/src/H5FDvfd_swmr_private.h b/src/H5FDvfd_swmr_private.h
index 74a937f..d79ec94 100644
--- a/src/H5FDvfd_swmr_private.h
+++ b/src/H5FDvfd_swmr_private.h
@@ -9,8 +9,8 @@
* help@hdfgroup.org.
*/
-#ifndef _H5FDvfd_swmr_private_H
-#define _H5FDvfd_swmr_private_H
+#ifndef H5FDvfd_swmr_private_H
+#define H5FDvfd_swmr_private_H
#include "H5queue.h" /* for TAILQ_* */
#include "hlog.h" /* for TAILQ_* */
@@ -90,4 +90,4 @@ H5_DLL herr_t H5F_vfd_swmr_insert_entry_eot(struct H5F_t *f);
H5_DLL void H5F_vfd_swmr_update_entry_eot(eot_queue_entry_t *);
H5_DLL herr_t H5F_dump_eot_queue(void);
-#endif /* _H5FDvfd_swmr_private_H */
+#endif /* H5FDvfd_swmr_private_H */
diff --git a/src/H5queue.h b/src/H5queue.h
index a84ba52..bef7ef7 100644
--- a/src/H5queue.h
+++ b/src/H5queue.h
@@ -31,8 +31,8 @@
* @(#)queue.h 8.5 (Berkeley) 8/20/94
*/
-#ifndef _H5queue_H_
-#define _H5queue_H_
+#ifndef H5queue_H_
+#define H5queue_H_
/* This is a copy of netBSD's sys/queue.h header for use in HDF5. We've copied
* it here instead of using the system's version to avoid incompatibilities.
@@ -679,4 +679,4 @@ struct { \
((struct type *)(void *) \
((char *)((head)->sqh_last) - offsetof(struct type, field))))
-#endif /* _H5queue_H_ */
+#endif /* H5queue_H_ */
diff --git a/src/hlog.h b/src/hlog.h
index 2489a47..6a91674 100644
--- a/src/hlog.h
+++ b/src/hlog.h
@@ -9,8 +9,8 @@
*
* See COPYING at the top of the HDF5 distribution for license terms.
*/
-#ifndef _HLOG_H
-#define _HLOG_H
+#ifndef HLOG_H
+#define HLOG_H
#include <stdarg.h>
#include <stdbool.h>
@@ -135,4 +135,4 @@ void hlog_always(struct hlog_outlet *, const char *, ...)
void hlog_impl(struct hlog_outlet *, const char *, ...)
_printflike(2,3);
-#endif /* _HLOG_H */
+#endif /* HLOG_H */
diff --git a/test/vfd_swmr_common.h b/test/vfd_swmr_common.h
index a4bf50e..f64ee87 100644
--- a/test/vfd_swmr_common.h
+++ b/test/vfd_swmr_common.h
@@ -11,8 +11,8 @@
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
-#ifndef _VFD_SWMR_COMMON_H
-#define _VFD_SWMR_COMMON_H
+#ifndef VFD_SWMR_COMMON_H
+#define VFD_SWMR_COMMON_H
/***********/
/* Headers */
@@ -94,4 +94,4 @@ H5TEST_DLL int fetch_env_ulong(const char *, unsigned long, unsigned long *);
extern int verbosity;
-#endif /* _SWMR_COMMON_H */
+#endif /* SWMR_COMMON_H */