summaryrefslogtreecommitdiffstats
path: root/test/dt_arith.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2015-06-08 21:30:38 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2015-06-08 21:30:38 (GMT)
commitdb4acaf3abfcc3e156e7ac575005257ea4e3e065 (patch)
tree0a496cf3d24b757f52133f3ce8e7f2b9e0cbd654 /test/dt_arith.c
parent2fdeab0ebde453b113cfab01b6bc32003e6e3275 (diff)
downloadhdf5-db4acaf3abfcc3e156e7ac575005257ea4e3e065.zip
hdf5-db4acaf3abfcc3e156e7ac575005257ea4e3e065.tar.gz
hdf5-db4acaf3abfcc3e156e7ac575005257ea4e3e065.tar.bz2
[svn-r27165] Merge 27133 & 27158 from trunk:
- 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 'test/dt_arith.c')
-rw-r--r--test/dt_arith.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/dt_arith.c b/test/dt_arith.c
index 8823e24..75093b0 100644
--- a/test/dt_arith.c
+++ b/test/dt_arith.c
@@ -415,7 +415,7 @@ static int my_isinf(int endian, unsigned char *val, size_t size,
*-------------------------------------------------------------------------
*/
static void
-fpe_handler(int UNUSED signo)
+fpe_handler(int H5_ATTR_UNUSED signo)
{
SKIPPED();
HDputs(" Test skipped due to SIGFPE.");
@@ -488,7 +488,7 @@ reset_hdf5(void)
*-------------------------------------------------------------------------
*/
static H5T_conv_ret_t
-except_func(H5T_conv_except_t except_type, hid_t UNUSED src_id, hid_t UNUSED dst_id, void UNUSED *src_buf,
+except_func(H5T_conv_except_t except_type, hid_t H5_ATTR_UNUSED src_id, hid_t H5_ATTR_UNUSED dst_id, void H5_ATTR_UNUSED *src_buf,
void *dst_buf, void *user_data)
{
H5T_conv_ret_t ret = H5T_CONV_HANDLED;
@@ -683,7 +683,7 @@ test_hard_query(void)
*-------------------------------------------------------------------------
*/
static H5T_conv_ret_t
-expt_handle(H5T_conv_except_t except_type, hid_t UNUSED src_id, hid_t UNUSED dst_id, void UNUSED *src_buf,
+expt_handle(H5T_conv_except_t except_type, hid_t H5_ATTR_UNUSED src_id, hid_t H5_ATTR_UNUSED dst_id, void H5_ATTR_UNUSED *src_buf,
void *dst_buf, void *user_data)
{
signed char fill_value1 = 7;