diff options
author | kmu <kmu@hdfgroup.org> | 2020-01-21 18:30:40 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:31:51 (GMT) |
commit | 742aa75cd0a729168a09f05492454baa37baea4b (patch) | |
tree | 9456d96a84b5c7ccd474db3a960f3f90a0f56054 | |
parent | af79e1613e4febe5916f4a30388de520f0db3abb (diff) | |
download | hdf5-742aa75cd0a729168a09f05492454baa37baea4b.zip hdf5-742aa75cd0a729168a09f05492454baa37baea4b.tar.gz hdf5-742aa75cd0a729168a09f05492454baa37baea4b.tar.bz2 |
fix missing prototype warning
-rw-r--r-- | src/H5Pmapl.c | 3 | ||||
-rw-r--r-- | testpar/t_2Gio.c | 2 | ||||
-rw-r--r-- | tools/test/perform/perf.c | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/src/H5Pmapl.c b/src/H5Pmapl.c index fe5be0f..3a3f619 100644 --- a/src/H5Pmapl.c +++ b/src/H5Pmapl.c @@ -137,6 +137,7 @@ done: FUNC_LEAVE_NOAPI(ret_value) } /* end H5P__macc_reg_prop() */ +#ifdef H5_HAVE_MAP_API /*------------------------------------------------------------------------- * Function: H5Pset_map_iterate_hints @@ -214,4 +215,4 @@ H5Pget_map_iterate_hints(hid_t mapl_id, size_t *key_prefetch_size, size_t *key_a done: FUNC_LEAVE_API(ret_value) } /* end H5Pget_map_iterate_hints() */ - +#endif diff --git a/testpar/t_2Gio.c b/testpar/t_2Gio.c index d48dfca..98ba557 100644 --- a/testpar/t_2Gio.c +++ b/testpar/t_2Gio.c @@ -552,7 +552,7 @@ dataset_vrfy(hsize_t start[], hsize_t count[], hsize_t stride[], hsize_t block[] #define H5FILE_NAME "hugefile.h5" #define DATASETNAME "dataset" -int MpioTest2G( MPI_Comm comm ) +static int MpioTest2G( MPI_Comm comm ) { /* * HDF5 APIs definitions diff --git a/tools/test/perform/perf.c b/tools/test/perform/perf.c index fd7d9de..2b23653 100644 --- a/tools/test/perform/perf.c +++ b/tools/test/perform/perf.c @@ -110,8 +110,6 @@ const char *FILENAME[] = { /* function prototypes */ static int parse_args(int argc, char **argv); -extern int errno; - /* globals needed for getopt */ extern char *optarg; |