mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[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)
This commit is contained in:
parent
d16a803257
commit
f0f73065e3
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user