summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-11-06 13:40:46 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-11-06 13:40:46 (GMT)
commit40a64a6938100bbfe1524184bbbf12e2300dac62 (patch)
tree55b84db62041efce88b0628bfefd6b701ba83a88 /src
parentb7c199e60080b66b85e6674e210a9eac408e27d7 (diff)
downloadhdf5-40a64a6938100bbfe1524184bbbf12e2300dac62.zip
hdf5-40a64a6938100bbfe1524184bbbf12e2300dac62.tar.gz
hdf5-40a64a6938100bbfe1524184bbbf12e2300dac62.tar.bz2
[svn-r7819] Purpose:
Warning cleanup Description: Make a parameter 'const' to clean up a warning during compiles. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to require h5committest
Diffstat (limited to 'src')
-rw-r--r--src/H5FD.c4
-rw-r--r--src/H5FDprivate.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/H5FD.c b/src/H5FD.c
index 60807a9..d9bf120 100644
--- a/src/H5FD.c
+++ b/src/H5FD.c
@@ -615,7 +615,7 @@ done:
*-------------------------------------------------------------------------
*/
herr_t
-H5FD_fapl_open(H5P_genplist_t *plist, hid_t driver_id, void *driver_info)
+H5FD_fapl_open(H5P_genplist_t *plist, hid_t driver_id, const void *driver_info)
{
void *copied_driver_info; /* Temporary VFL driver info */
herr_t ret_value=SUCCEED; /* Return value */
@@ -733,7 +733,7 @@ done:
*-------------------------------------------------------------------------
*/
herr_t
-H5FD_dxpl_open(H5P_genplist_t *plist, hid_t driver_id, void *driver_info)
+H5FD_dxpl_open(H5P_genplist_t *plist, hid_t driver_id, const void *driver_info)
{
void *copied_driver_info; /* Temporary VFL driver info */
herr_t ret_value=SUCCEED; /* Return value */
diff --git a/src/H5FDprivate.h b/src/H5FDprivate.h
index 6eaf938..eafb10d 100644
--- a/src/H5FDprivate.h
+++ b/src/H5FDprivate.h
@@ -44,10 +44,10 @@ H5_DLL hsize_t H5FD_sb_size(H5FD_t *file);
H5_DLL herr_t H5FD_sb_encode(H5FD_t *file, char *name/*out*/, uint8_t *buf);
H5_DLL herr_t H5FD_sb_decode(H5FD_t *file, const char *name, const uint8_t *buf);
H5_DLL void *H5FD_fapl_get(H5FD_t *file);
-H5_DLL herr_t H5FD_fapl_open(struct H5P_genplist_t *plist, hid_t driver_id, void *driver_info);
+H5_DLL herr_t H5FD_fapl_open(struct H5P_genplist_t *plist, hid_t driver_id, const void *driver_info);
H5_DLL herr_t H5FD_fapl_copy(hid_t driver_id, const void *fapl, void **copied_fapl);
H5_DLL herr_t H5FD_fapl_close(hid_t driver_id, void *fapl);
-H5_DLL herr_t H5FD_dxpl_open(struct H5P_genplist_t *plist, hid_t driver_id, void *driver_info);
+H5_DLL herr_t H5FD_dxpl_open(struct H5P_genplist_t *plist, hid_t driver_id, const void *driver_info);
H5_DLL herr_t H5FD_dxpl_copy(hid_t driver_id, const void *dxpl, void **copied_dxpl);
H5_DLL herr_t H5FD_dxpl_close(hid_t driver_id, void *dxpl);
H5_DLL H5FD_t *H5FD_open(const char *name, unsigned flags, hid_t fapl_id,