diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-05-13 17:53:17 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-05-13 17:53:17 +0000 |
commit | 9b347269f2c841ac9a624cc24d8c7a137bc58206 (patch) | |
tree | a5a7b0143f3fd9d71e42eb03c4967f8763ec3501 /target-mips/translate.c | |
parent | 2ffccce321ff7f9f2484a98e29e0009260fabafb (diff) | |
download | qemu-9b347269f2c841ac9a624cc24d8c7a137bc58206.tar.gz qemu-9b347269f2c841ac9a624cc24d8c7a137bc58206.tar.bz2 qemu-9b347269f2c841ac9a624cc24d8c7a137bc58206.zip |
Replace gcc variadic macro extension with C99 version
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-mips/translate.c')
-rw-r--r-- | target-mips/translate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target-mips/translate.c b/target-mips/translate.c index 7ecc9fdaf3..6f5bea4b04 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -501,13 +501,13 @@ static const char *fregnames[] = "f24", "f25", "f26", "f27", "f28", "f29", "f30", "f31", }; #ifdef MIPS_DEBUG_DISAS -#define MIPS_DEBUG(fmt, args...) \ +#define MIPS_DEBUG(fmt, ...) \ qemu_log_mask(CPU_LOG_TB_IN_ASM, \ TARGET_FMT_lx ": %08x " fmt "\n", \ - ctx->pc, ctx->opcode , ##args) + ctx->pc, ctx->opcode , ## __VA_ARGS__) #define LOG_DISAS(...) qemu_log_mask(CPU_LOG_TB_IN_ASM, ## __VA_ARGS__) #else -#define MIPS_DEBUG(fmt, args...) do { } while(0) +#define MIPS_DEBUG(fmt, ...) do { } while(0) #define LOG_DISAS(...) do { } while (0) #endif |