add a missed update to NC_HDF4_open

This commit is contained in:
Wei-keng Liao 2018-09-23 01:36:50 -05:00
parent 0ed70756cc
commit a7c08c3a49
2 changed files with 3 additions and 6 deletions

View File

@ -40,7 +40,7 @@ extern "C" {
extern int
NC_HDF4_open(const char *path, int mode, int basepe, size_t *chunksizehintp,
int use_parallel, void* parameters, NC_Dispatch*, NC*);
void* parameters, NC_Dispatch*, NC*);
extern int
NC_HDF4_close(int ncid);

View File

@ -583,8 +583,6 @@ hdf4_read_var(NC_FILE_INFO_T *h5, int v)
* @param mode The open mode flag.
* @param basepe Ignored by this function.
* @param chunksizehintp Ignored by this function.
* @param use_parallel Must be 0 for sequential, access. Parallel
* access not supported for HDF4.
* @param parameters pointer to struct holding extra data (e.g. for
* parallel I/O) layer. Ignored if NULL.
* @param dispatch Pointer to the dispatch table for this file.
@ -596,8 +594,7 @@ hdf4_read_var(NC_FILE_INFO_T *h5, int v)
*/
int
NC_HDF4_open(const char *path, int mode, int basepe, size_t *chunksizehintp,
int use_parallel, void *parameters, NC_Dispatch *dispatch,
NC *nc_file)
void *parameters, NC_Dispatch *dispatch, NC *nc_file)
{
NC_FILE_INFO_T *h5;
NC_HDF4_FILE_INFO_T *hdf4_file;
@ -608,7 +605,7 @@ NC_HDF4_open(const char *path, int mode, int basepe, size_t *chunksizehintp,
int retval = NC_NOERR;
/* Check inputs. */
assert(nc_file && path && !use_parallel);
assert(nc_file && path);
LOG((1, "%s: path %s mode %d params %x", __func__, path, mode, parameters));