diff options
author | Kimmy Mu <kmu@hdfgroup.org> | 2020-01-23 02:58:42 (GMT) |
---|---|---|
committer | Kimmy Mu <kmu@hdfgroup.org> | 2020-01-23 02:58:42 (GMT) |
commit | 720ba8624aefd5b10783629ab59cb91708c4fcde (patch) | |
tree | 85390a6d313e2198899ec0ca362a46f56196d726 | |
parent | 8ce59829e4064debc973ec750cd700eec288a19f (diff) | |
parent | 9f80ffa1f1908975b3100814b2529bf779521e13 (diff) | |
download | hdf5-720ba8624aefd5b10783629ab59cb91708c4fcde.zip hdf5-720ba8624aefd5b10783629ab59cb91708c4fcde.tar.gz hdf5-720ba8624aefd5b10783629ab59cb91708c4fcde.tar.bz2 |
Merge pull request #2292 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/prototype to develop
* commit '9f80ffa1f1908975b3100814b2529bf779521e13':
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 711f587..a49fefe 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; |