renamed get_fill_value

This commit is contained in:
Ed Hartnett 2018-08-09 06:41:54 -06:00
parent 06ecd2412d
commit 5e9ffcaab3
2 changed files with 5 additions and 4 deletions

View File

@ -63,5 +63,6 @@ int rec_reattach_scales(NC_GRP_INFO_T *grp, int dimid, hid_t dimscaleid);
/* These functions are internal to the libhdf5 directory. */
int nc4_detect_preserve_dimids(NC_GRP_INFO_T *grp, nc_bool_t *bad_coord_orderp);
int hdf5_set_log_level();
int nc4_get_fill_value(NC_FILE_INFO_T *h5, NC_VAR_INFO_T *var, void **fillp);
#endif /* _HDF5INTERNAL_ */

View File

@ -283,8 +283,8 @@ nc4_get_default_fill_value(const NC_TYPE_INFO_T *type_info, void *fill_value)
* @returns NC_ENOMEM Out of memory.
* @author Ed Hartnett
*/
static int
get_fill_value(NC_FILE_INFO_T *h5, NC_VAR_INFO_T *var, void **fillp)
int
nc4_get_fill_value(NC_FILE_INFO_T *h5, NC_VAR_INFO_T *var, void **fillp)
{
size_t size;
int retval;
@ -929,7 +929,7 @@ var_create_dataset(NC_GRP_INFO_T *grp, NC_VAR_INFO_T *var, nc_bool_t write_dimid
}
else
{
if ((retval = get_fill_value(grp->nc4_info, var, &fillp)))
if ((retval = nc4_get_fill_value(grp->nc4_info, var, &fillp)))
BAIL(retval);
/* If there is a fill value, set it. */
@ -4256,7 +4256,7 @@ nc4_get_vars(NC *nc, int ncid, int varid, const size_t *startp,
/* Get the fill value from the HDF5 variable. Memory will be
* allocated. */
if (get_fill_value(h5, var, &fillvalue) < 0)
if (nc4_get_fill_value(h5, var, &fillvalue) < 0)
BAIL(NC_EHDFERR);
/* How many fill values do we need? */