diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-05-14 16:10:15 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-05-14 16:10:15 (GMT) |
commit | f0f73065e32f0efa7237e37b97bea8d42c6e5cfa (patch) | |
tree | 3f7894fa5fa4f6bebf96c26db48c26a3f06ca781 /src | |
parent | d16a803257ca2b2d4c03db4c7b5649fed690bfcf (diff) | |
download | hdf5-f0f73065e32f0efa7237e37b97bea8d42c6e5cfa.zip hdf5-f0f73065e32f0efa7237e37b97bea8d42c6e5cfa.tar.gz hdf5-f0f73065e32f0efa7237e37b97bea8d42c6e5cfa.tar.bz2 |
[svn-r13751] Description:
Reduce the number of warnings when free lists are disabled.
Tested on:
Mac OS X /32 10.4.9 (amazon)
Linux/32 2.6 (chicago)
Linux/64 2.6 (chicago2)
Diffstat (limited to 'src')
-rw-r--r-- | src/H5FLprivate.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5FLprivate.h b/src/H5FLprivate.h index 1d8f6af..5d46bf0 100644 --- a/src/H5FLprivate.h +++ b/src/H5FLprivate.h @@ -136,10 +136,10 @@ typedef struct H5FL_reg_head_t { #else /* H5_NO_REG_FREE_LISTS */ #include "H5MMprivate.h" /* Common macro for H5FL_DEFINE & H5FL_DEFINE_STATIC */ -#define H5FL_DEFINE_COMMON(t) int H5FL_REG_NAME(t) +#define H5FL_DEFINE_COMMON(t) int UNUSED H5FL_REG_NAME(t) #define H5FL_DEFINE(t) H5_DLL H5FL_DEFINE_COMMON(t) -#define H5FL_EXTERN(t) extern H5_DLL int H5FL_REG_NAME(t) +#define H5FL_EXTERN(t) extern H5_DLL H5FL_DEFINE_COMMON(t) #define H5FL_DEFINE_STATIC(t) static H5FL_DEFINE_COMMON(t) #define H5FL_MALLOC(t) (t *)H5MM_malloc(sizeof(t)) #define H5FL_CALLOC(t) (t *)H5MM_calloc(sizeof(t)) |