summaryrefslogtreecommitdiffstats
path: root/test/overhead.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/overhead.c')
-rw-r--r--test/overhead.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/overhead.c b/test/overhead.c
index 4656fa5..2852064 100644
--- a/test/overhead.c
+++ b/test/overhead.c
@@ -36,9 +36,9 @@
#ifndef HAVE_ATTRIBUTE
# undef __attribute__
# define __attribute__(X) /*void*/
-# define __unused__ /*void*/
+# define UNUSED /*void*/
#else
-# define __unused__ __attribute__((unused))
+# define UNUSED __attribute__((unused))
#endif
#define FILE_NAME_1 "overhead.h5"
@@ -146,7 +146,7 @@ cleanup (void)
*-------------------------------------------------------------------------
*/
static herr_t
-display_error_cb (void __unused__ *client_data)
+display_error_cb (void UNUSED *client_data)
{
puts ("*FAILED*");
H5Eprint (stdout);