diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-05-20 05:47:22 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-05-20 05:47:22 (GMT) |
commit | 15bc329ddb8fb9c5d3bcd9869a384f813e7d21b2 (patch) | |
tree | 94b69e5145e1c61c0a1ba4c0507272248fc9138a /src | |
parent | 3c394783e764e0b57b18c9338528e04ff2800526 (diff) | |
download | hdf5-15bc329ddb8fb9c5d3bcd9869a384f813e7d21b2.zip hdf5-15bc329ddb8fb9c5d3bcd9869a384f813e7d21b2.tar.gz hdf5-15bc329ddb8fb9c5d3bcd9869a384f813e7d21b2.tar.bz2 |
[svn-r13772] Description:
Reduce compiler warnings when free list manager is disabled.
Tested on:
FreeBSD/32 6.2 (duty)
Diffstat (limited to 'src')
-rw-r--r-- | src/H5FLprivate.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5FLprivate.h b/src/H5FLprivate.h index 93a853a..4cf1d8f 100644 --- a/src/H5FLprivate.h +++ b/src/H5FLprivate.h @@ -209,14 +209,14 @@ typedef struct H5FL_blk_head_t { #else /* H5_NO_BLK_FREE_LISTS */ /* Common macro for H5FL_BLK_DEFINE & H5FL_BLK_DEFINE_STATIC */ -#define H5FL_BLK_DEFINE_COMMON(t) int H5FL_BLK_NAME(t) +#define H5FL_BLK_DEFINE_COMMON(t) int UNUSED H5FL_BLK_NAME(t) #define H5FL_BLK_DEFINE(t) H5_DLL H5FL_BLK_DEFINE_COMMON(t) -#define H5FL_BLK_EXTERN(t) extern H5_DLL int H5FL_BLK_NAME(t) +#define H5FL_BLK_EXTERN(t) extern H5_DLL H5FL_BLK_DEFINE_COMMON(t) #define H5FL_BLK_DEFINE_STATIC(t) static H5FL_BLK_DEFINE_COMMON(t) #define H5FL_BLK_MALLOC(t,size) (uint8_t *)H5MM_malloc(size) #define H5FL_BLK_CALLOC(t,size) (uint8_t *)H5MM_calloc(size) -#define H5FL_BLK_FREE(t,blk) (uint8_t *)H5MM_xfree(blk) +#define H5FL_BLK_FREE(t,blk) H5MM_xfree(blk) #define H5FL_BLK_REALLOC(t,blk,new_size) (uint8_t *)H5MM_realloc(blk,new_size) #define H5FL_BLK_AVAIL(t,size) (FALSE) #endif /* H5_NO_BLK_FREE_LISTS */ @@ -338,10 +338,10 @@ typedef struct H5FL_seq_head_t { #else /* H5_NO_SEQ_FREE_LISTS */ /* Common macro for H5FL_SEQ_DEFINE & H5FL_SEQ_DEFINE_STATIC */ -#define H5FL_SEQ_DEFINE_COMMON(t) int H5FL_SEQ_NAME(t) +#define H5FL_SEQ_DEFINE_COMMON(t) int UNUSED H5FL_SEQ_NAME(t) #define H5FL_SEQ_DEFINE(t) H5_DLL H5FL_SEQ_DEFINE_COMMON(t) -#define H5FL_SEQ_EXTERN(t) extern H5_DLL int H5FL_SEQ_NAME(t) +#define H5FL_SEQ_EXTERN(t) extern H5_DLL H5FL_SEQ_DEFINE_COMMON(t) #define H5FL_SEQ_DEFINE_STATIC(t) static H5FL_SEQ_DEFINE_COMMON(t) #define H5FL_SEQ_MALLOC(t,elem) (t *)H5MM_malloc((elem)*sizeof(t)) #define H5FL_SEQ_CALLOC(t,elem) (t *)H5MM_calloc((elem)*sizeof(t)) |