summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-09-13 21:21:57 +0200
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2010-09-14 10:58:38 +0200
commit46411f863c26ff85c48b97939502007610c95398 (patch)
treebd185262833a81ac3e6c82f9449a77423b1c05ac /tests
parentb6601141cd2a170dfe773987b06f716a190ea7e0 (diff)
Remove wrong semicolon in macro definition
Macros normally should not end with a semicolon, otherwise their usage results in two statements where only one statement was expected. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/cris/check_swap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cris/check_swap.c b/tests/cris/check_swap.c
index 743cfc54d3..824a685517 100644
--- a/tests/cris/check_swap.c
+++ b/tests/cris/check_swap.c
@@ -41,7 +41,7 @@ do { \
cris_tst_mov_cc(n, z); \
if (r != expected) \
err(); \
-} while(0);
+} while(0)
void check_swap(void)
{