diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2002-06-04 21:29:05 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2002-06-04 21:29:05 (GMT) |
commit | dd51aae3ca540fc43ca398beaed9f6643b880265 (patch) | |
tree | 5678b1ca712e93c2d7f75daca7a7901dad1a6ff0 /src/H5Sprivate.h | |
parent | 56e4d8fb0cbbcd1b1036b361758ff84a40d2cb01 (diff) | |
download | hdf5-dd51aae3ca540fc43ca398beaed9f6643b880265.zip hdf5-dd51aae3ca540fc43ca398beaed9f6643b880265.tar.gz hdf5-dd51aae3ca540fc43ca398beaed9f6643b880265.tar.bz2 |
[svn-r5530] Purpose:
Code Cleanup
Description:
Removed some compiler warnings.
Solution:
In a few cases, NULL was being returned when a FAIL was supposed to
be returned instead. There were some header files which needed to be
included in a few of the sources. A couple of if-then statements had
assignments in the conditional part. The compiler warned that they
should have extra "()"s around them. Made the code check the values
instead.
Platforms tested:
Linux (parallel) Modi4 (parallel)
Diffstat (limited to 'src/H5Sprivate.h')
-rw-r--r-- | src/H5Sprivate.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/H5Sprivate.h b/src/H5Sprivate.h index 1fe6081..bfae660 100644 --- a/src/H5Sprivate.h +++ b/src/H5Sprivate.h @@ -228,7 +228,8 @@ __DLL__ herr_t H5S_select_hyperslab (H5S_t *space, H5S_seloper_t op, const hssiz #ifdef H5_HAVE_PARALLEL -/* MPI-IO function to check whether its possible to transfer directly from app buffer to file */ +/* MPI-IO function to check whether its possible to transfer directly + * from app buffer to file */ __DLL__ htri_t H5S_all_opt_possible(const H5S_t *mem_space, const H5S_t *file_space, const unsigned flags); @@ -247,6 +248,12 @@ __DLL__ herr_t H5S_mpio_spaces_write(H5F_t *f, size_t elmt_size, const H5S_t *file_space, const H5S_t *mem_space, hid_t dxpl_id, const void *buf); + +/* MPI-IO function to check if a direct I/O transfer is possible between + * memory and the file */ +__DLL__ htri_t H5S_mpio_opt_possible(const H5S_t *mem_space, + const H5S_t *file_space, const unsigned flags); + #ifndef _H5S_IN_H5S_C /* Global var whose value comes from environment variable */ __DLLVAR__ hbool_t H5_mpi_opt_types_g; |