summaryrefslogtreecommitdiffstats
path: root/src/H5FDcore.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1999-10-07 16:51:49 (GMT)
committerRobb Matzke <matzke@llnl.gov>1999-10-07 16:51:49 (GMT)
commit20e748496e281cf068227fed2bcbe0aeca09bd7b (patch)
tree2dea5d5d3e18311329f61f03b69ca9e9a654950c /src/H5FDcore.c
parent766d480daf98b8d0aad9e767202fbe21ad101c48 (diff)
downloadhdf5-20e748496e281cf068227fed2bcbe0aeca09bd7b.zip
hdf5-20e748496e281cf068227fed2bcbe0aeca09bd7b.tar.gz
hdf5-20e748496e281cf068227fed2bcbe0aeca09bd7b.tar.bz2
[svn-r1732] Changes since 19991007
---------------------- ./src/H5FDcore.c Includes private headers instead of public in order to use the `UNUSED' macro. ./src/H5FDpublic.h Includes H5public.h just in case. ./src/H5P.c Removed two unused variables in H5P_copy() ./src/H5FDgass.h Fixed a C++ comment after a `#endif' ./src/Makefile.in The H5FDgass.h file is public and must be installed in order for applications to be able to use HDF5. ./tools/h5tools.c Removed an unused variable.
Diffstat (limited to 'src/H5FDcore.c')
-rw-r--r--src/H5FDcore.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/H5FDcore.c b/src/H5FDcore.c
index 6953ca7..64f93c0 100644
--- a/src/H5FDcore.c
+++ b/src/H5FDcore.c
@@ -9,9 +9,10 @@
* only the HDF5 public API. This driver is useful for fast
* access to small, temporary hdf5 files.
*/
-#include <assert.h>
-#include <hdf5.h>
-#include <stdlib.h>
+#include <H5private.h>
+#include <H5Fprivate.h>
+#include <H5FDcore.h>
+#include <H5Pprivate.h>
#undef MAX
#define MAX(X,Y) ((X)>(Y)?(X):(Y))
@@ -155,8 +156,8 @@ herr_t
H5Pset_fapl_core(hid_t fapl_id, size_t increment)
{
H5FD_core_fapl_t fa;
-
- /*NO TRACE*/
+
+ /* NO TRACE */
if (H5P_FILE_ACCESS!=H5Pget_class(fapl_id)) return -1;
fa.increment = increment;
return H5Pset_driver(fapl_id, H5FD_CORE, &fa);
@@ -184,7 +185,7 @@ H5Pget_fapl_core(hid_t fapl_id, size_t *increment/*out*/)
{
H5FD_core_fapl_t *fa;
- /*NO TRACE*/
+ /* NO TRACE */
if (H5P_FILE_ACCESS!=H5Pget_class(fapl_id)) return -1;
if (H5FD_CORE!=H5Pget_driver(fapl_id)) return -1;
if (NULL==(fa=H5Pget_driver_info(fapl_id))) return -1;