diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2015-06-01 19:38:09 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2015-06-01 19:38:09 (GMT) |
commit | fc45d5fcb05fbf1b9ee05a46a25afc6fd6c40503 (patch) | |
tree | 781b58abe1c081522000583a473855000ce18da9 /src/H5private.h | |
parent | 92e3188ff3c8c32a6875ae86c018b1aa954841b0 (diff) | |
download | hdf5-fc45d5fcb05fbf1b9ee05a46a25afc6fd6c40503.zip hdf5-fc45d5fcb05fbf1b9ee05a46a25afc6fd6c40503.tar.gz hdf5-fc45d5fcb05fbf1b9ee05a46a25afc6fd6c40503.tar.bz2 |
[svn-r27133] - Add a new attribute function characterstic for format:
* H5_ATTR_FORMAT(X,Y,Z) __attribute__((format(X, Y, Z)))
- Rename UNUSED attribute characterstic to H5_ATTR_UNUSED.
- Rename NORETURN attribute characterstic to H5_ATTR_NORETURN
tested with h5committest.
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/H5private.h b/src/H5private.h index 0987ce9..f7a4171 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -280,16 +280,9 @@ */ #ifdef __cplusplus # define __attribute__(X) /*void*/ -# define UNUSED /*void*/ -# define NORETURN /*void*/ #else /* __cplusplus */ -#ifdef H5_HAVE_ATTRIBUTE -# define UNUSED __attribute__((unused)) -# define NORETURN __attribute__((noreturn)) -#else +#ifndef H5_HAVE_ATTRIBUTE # define __attribute__(X) /*void*/ -# define UNUSED /*void*/ -# define NORETURN /*void*/ #endif #endif /* __cplusplus */ |