From 6028d7f9c9a7a8ff109368b89898e010cc4abcbb Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Mon, 7 Jul 2003 11:20:43 -0500 Subject: [svn-r7172] Purpose: Code cleanup Description: Remove "UNUSED" keyword from function prototypes in header files. Platforms tested: IA64 Linux cluster (titan) too small to need commit test --- src/H5Fpkg.h | 8 ++++---- src/H5Gpkg.h | 16 ++++++++-------- src/H5Ppkg.h | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/H5Fpkg.h b/src/H5Fpkg.h index 5bd2ec3..2d92ad3 100644 --- a/src/H5Fpkg.h +++ b/src/H5Fpkg.h @@ -228,13 +228,13 @@ H5_DLL ssize_t H5F_contig_writevv(H5F_t *f, hsize_t _max_data, haddr_t _addr, hid_t dxpl_id, const void *buf); /* Functions that operate on compact dataset storage */ -H5_DLL ssize_t H5F_compact_readvv(H5F_t UNUSED *f, const struct H5O_layout_t *layout, +H5_DLL ssize_t H5F_compact_readvv(H5F_t *f, const struct H5O_layout_t *layout, size_t dset_max_nseq, size_t *dset_curr_seq, size_t dset_size_arr[], hsize_t dset_offset_arr[], size_t mem_max_nseq, size_t *mem_curr_seq, size_t mem_size_arr[], hsize_t mem_offset_arr[], - hid_t UNUSED dxpl_id, void *buf); -H5_DLL ssize_t H5F_compact_writevv(H5F_t UNUSED *f, struct H5O_layout_t *layout, + hid_t dxpl_id, void *buf); +H5_DLL ssize_t H5F_compact_writevv(H5F_t *f, struct H5O_layout_t *layout, size_t dset_max_nseq, size_t *dset_curr_seq, size_t dset_size_arr[], hsize_t dset_offset_arr[], size_t mem_max_nseq, size_t *mem_curr_seq, size_t mem_size_arr[], hsize_t mem_offset_arr[], - hid_t UNUSED dxpl_id, const void *buf); + hid_t dxpl_id, const void *buf); #endif diff --git a/src/H5Gpkg.h b/src/H5Gpkg.h index bd64e58..9443a54 100644 --- a/src/H5Gpkg.h +++ b/src/H5Gpkg.h @@ -142,12 +142,12 @@ H5_DLL herr_t H5G_ent_encode_vec(H5F_t *f, uint8_t **pp, const H5G_entry_t *ent, int n); /* Functions that understand symbol table nodes */ -H5_DLL int H5G_node_iterate (H5F_t *f, hid_t dxpl_id, void UNUSED *_lt_key, haddr_t addr, - void UNUSED *_rt_key, void *_udata); -H5_DLL int H5G_node_sumup(H5F_t *f, hid_t dxpl_id, void UNUSED *_lt_key, haddr_t addr, - void UNUSED *_rt_key, void *_udata); -H5_DLL int H5G_node_name(H5F_t *f, hid_t dxpl_id, void UNUSED *_lt_key, haddr_t addr, - void UNUSED *_rt_key, void *_udata); -H5_DLL int H5G_node_type(H5F_t *f, hid_t dxpl_id, void UNUSED *_lt_key, haddr_t addr, - void UNUSED *_rt_key, void *_udata); +H5_DLL int H5G_node_iterate (H5F_t *f, hid_t dxpl_id, void *_lt_key, haddr_t addr, + void *_rt_key, void *_udata); +H5_DLL int H5G_node_sumup(H5F_t *f, hid_t dxpl_id, void *_lt_key, haddr_t addr, + void *_rt_key, void *_udata); +H5_DLL int H5G_node_name(H5F_t *f, hid_t dxpl_id, void *_lt_key, haddr_t addr, + void *_rt_key, void *_udata); +H5_DLL int H5G_node_type(H5F_t *f, hid_t dxpl_id, void *_lt_key, haddr_t addr, + void *_rt_key, void *_udata); #endif diff --git a/src/H5Ppkg.h b/src/H5Ppkg.h index f77b852..1b287fb 100644 --- a/src/H5Ppkg.h +++ b/src/H5Ppkg.h @@ -114,7 +114,7 @@ H5_DLL herr_t H5P_add_prop(H5TB_TREE *props, H5P_genprop_t *prop); H5_DLL herr_t H5P_access_class(H5P_genclass_t *pclass, H5P_class_mod_t mod); H5_DLL char *H5P_get_class_path(H5P_genclass_t *pclass); H5_DLL H5P_genclass_t *H5P_open_class_path(const char *path); -H5_DLL int H5P_tbbt_strcmp(const void *k1, const void *k2, int UNUSED cmparg); +H5_DLL int H5P_tbbt_strcmp(const void *k1, const void *k2, int cmparg); H5_DLL herr_t H5P_close_class(void *_pclass); /* Testing functions */ -- cgit v0.12