From 46411f863c26ff85c48b97939502007610c95398 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Mon, 13 Sep 2010 21:21:57 +0200 Subject: 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 Signed-off-by: Edgar E. Iglesias --- hw/serial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw') diff --git a/hw/serial.c b/hw/serial.c index 49431b2388..f09ce0ac01 100644 --- a/hw/serial.c +++ b/hw/serial.c @@ -101,10 +101,10 @@ #ifdef DEBUG_SERIAL #define DPRINTF(fmt, ...) \ -do { fprintf(stderr, "serial: " fmt , ## __VA_ARGS__); } while (0); +do { fprintf(stderr, "serial: " fmt , ## __VA_ARGS__); } while (0) #else #define DPRINTF(fmt, ...) \ -do {} while(0); +do {} while (0) #endif typedef struct SerialFIFO { -- cgit v1.2.3