From 22303f9d3f867e01da2bdf7f1b9246779ca88ccb Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Wed, 29 Nov 2000 16:28:31 -0500 Subject: [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) --- src/H5FDfamily.c | 2 +- src/H5FDlog.c | 2 +- src/H5FDsec2.c | 2 +- 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; -- cgit v0.12