mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
add a missed update to NC_HDF4_open
This commit is contained in:
parent
0ed70756cc
commit
a7c08c3a49
@ -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);
|
||||
|
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user