summaryrefslogtreecommitdiffstats
path: root/test/use.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/use.h')
-rw-r--r--test/use.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/use.h b/test/use.h
index ff8fd76..4317ab1 100644
--- a/test/use.h
+++ b/test/use.h
@@ -17,14 +17,14 @@
/* Macro definitions */
#define Hgoto_error(val) \
- { \
+ do { \
ret_value = val; \
goto done; \
- }
+ } while (0)
#define Hgoto_done \
- { \
+ do { \
goto done; \
- }
+ } while (0)
#define Chunksize_DFT 256 /* chunksize default */
#define ErrorReportMax 10 /* max number of errors reported */
/* these two definitions must match each other */