summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-11-29 21:28:31 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-11-29 21:28:31 (GMT)
commit22303f9d3f867e01da2bdf7f1b9246779ca88ccb (patch)
treea7ff6aa1a5949ecc3eb93bc30f2de8fe1094b9e9
parentc40d42e6b6bc2b3ad06100623f06eb1d1e07203c (diff)
downloadhdf5-22303f9d3f867e01da2bdf7f1b9246779ca88ccb.zip
hdf5-22303f9d3f867e01da2bdf7f1b9246779ca88ccb.tar.gz
hdf5-22303f9d3f867e01da2bdf7f1b9246779ca88ccb.tar.bz2
[svn-r3027] Purpose:
Bug fix Description: "UNUSED" macro was in wrong place for older versions of gcc Solution: Moved the "UNUSED" macro to the right of the H5FD_t type declaration and the compiler was happy... Platforms tested: Solaris X86 2.5 (hatteras)
-rw-r--r--src/H5FDfamily.c2
-rw-r--r--src/H5FDlog.c2
-rw-r--r--src/H5FDsec2.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/H5FDfamily.c b/src/H5FDfamily.c
index 0211829..4f0b3d9 100644
--- a/src/H5FDfamily.c
+++ b/src/H5FDfamily.c
@@ -628,7 +628,7 @@ H5FD_family_cmp(const H5FD_t *_f1, const H5FD_t *_f2)
*-------------------------------------------------------------------------
*/
static herr_t
-H5FD_family_query(const UNUSED H5FD_t *_f, unsigned long *flags /* out */)
+H5FD_family_query(const H5FD_t UNUSED *_f, unsigned long *flags /* out */)
{
herr_t ret_value=SUCCEED;
diff --git a/src/H5FDlog.c b/src/H5FDlog.c
index 195e34c..af40afc 100644
--- a/src/H5FDlog.c
+++ b/src/H5FDlog.c
@@ -638,7 +638,7 @@ H5FD_log_cmp(const H5FD_t *_f1, const H5FD_t *_f2)
*-------------------------------------------------------------------------
*/
static herr_t
-H5FD_log_query(const UNUSED H5FD_t *_f, unsigned long *flags /* out */)
+H5FD_log_query(const H5FD_t UNUSED *_f, unsigned long *flags /* out */)
{
herr_t ret_value=SUCCEED;
diff --git a/src/H5FDsec2.c b/src/H5FDsec2.c
index 91f3f6c..933b46b 100644
--- a/src/H5FDsec2.c
+++ b/src/H5FDsec2.c
@@ -411,7 +411,7 @@ H5FD_sec2_cmp(const H5FD_t *_f1, const H5FD_t *_f2)
*-------------------------------------------------------------------------
*/
static herr_t
-H5FD_sec2_query(const UNUSED H5FD_t *_f, unsigned long *flags /* out */)
+H5FD_sec2_query(const H5FD_t UNUSED *_f, unsigned long *flags /* out */)
{
herr_t ret_value=SUCCEED;