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 | 001faf3269541f0231482e0fccc846f62f8930b2 (patch) | |
tree | a5a7b0143f3fd9d71e42eb03c4967f8763ec3501 /target-mips | |
parent | 4cfce484c5d7e514c23689f3194055b5463d6054 (diff) |
Replace gcc variadic macro extension with C99 version
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-mips')
-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 |