summaryrefslogtreecommitdiffstats
path: root/src/H5FDint.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2016-11-03 16:32:30 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2016-11-03 16:32:30 (GMT)
commitd935aa3555e6951688b8e6c9b9cc8a59b75f58c1 (patch)
treefc429e475c078ae53f2c5e9084a381c8a7ded704 /src/H5FDint.c
parent9b68a163bff15ed8dbcdeecffbc5544bfb7673d3 (diff)
downloadhdf5-d935aa3555e6951688b8e6c9b9cc8a59b75f58c1.zip
hdf5-d935aa3555e6951688b8e6c9b9cc8a59b75f58c1.tar.gz
hdf5-d935aa3555e6951688b8e6c9b9cc8a59b75f58c1.tar.bz2
Warning and whitespace cleanup.
Diffstat (limited to 'src/H5FDint.c')
-rw-r--r--src/H5FDint.c18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/H5FDint.c b/src/H5FDint.c
index 128f30f..cd48197 100644
--- a/src/H5FDint.c
+++ b/src/H5FDint.c
@@ -93,7 +93,11 @@
*-------------------------------------------------------------------------
*/
herr_t
-H5FD_locate_signature(H5FD_t *file, const H5P_genplist_t *dxpl, haddr_t *sig_addr)
+H5FD_locate_signature(H5FD_t *file,
+#ifndef H5_DEBUG_BUILD
+const
+#endif /* H5_DEBUG_BUILD */
+H5P_genplist_t *dxpl, haddr_t *sig_addr)
{
haddr_t addr, eoa, eof;
uint8_t buf[H5F_SIGNATURE_LEN];
@@ -158,7 +162,11 @@ done:
*-------------------------------------------------------------------------
*/
herr_t
-H5FD_read(H5FD_t *file, const H5P_genplist_t *dxpl, H5FD_mem_t type, haddr_t addr,
+H5FD_read(H5FD_t *file,
+#ifndef H5_DEBUG_BUILD
+const
+#endif /* H5_DEBUG_BUILD */
+H5P_genplist_t *dxpl, H5FD_mem_t type, haddr_t addr,
size_t size, void *buf/*out*/)
{
haddr_t eoa = HADDR_UNDEF;
@@ -226,7 +234,11 @@ done:
*-------------------------------------------------------------------------
*/
herr_t
-H5FD_write(H5FD_t *file, const H5P_genplist_t *dxpl, H5FD_mem_t type, haddr_t addr,
+H5FD_write(H5FD_t *file,
+#ifndef H5_DEBUG_BUILD
+const
+#endif /* H5_DEBUG_BUILD */
+H5P_genplist_t *dxpl, H5FD_mem_t type, haddr_t addr,
size_t size, const void *buf)
{
haddr_t eoa = HADDR_UNDEF;