Quincey noted the following declarations

are duplicated in netcdf.h and netcdf_par.h
This commit removed the duplicates from netcdf.h
since they are only used when parallism is
enabled.

    /* Use these with nc_var_par_access(). */
    #define NC_INDEPENDENT 0
    #define NC_COLLECTIVE 1

    /* Set parallel access for a variable to independent (the default) or
     * collective. */
    EXTERNL int
    nc_var_par_access(int ncid, int varid, int par_access);
This commit is contained in:
dmh 2013-09-04 11:28:40 -06:00
parent e636881aa7
commit 6e954fa2ce

View File

@ -444,15 +444,6 @@ nc_open(const char *path, int mode, int *ncidp);
EXTERNL int
nc_inq_path(int ncid, size_t *pathlen, char *path);
/* Use these with nc_var_par_access(). */
#define NC_INDEPENDENT 0
#define NC_COLLECTIVE 1
/* Set parallel access for a variable to independent (the default) or
* collective. */
EXTERNL int
nc_var_par_access(int ncid, int varid, int par_access);
/* Given an ncid and group name (NULL gets root group), return
* locid. */
EXTERNL int