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-sparc | |
parent | 4cfce484c5d7e514c23689f3194055b5463d6054 (diff) |
Replace gcc variadic macro extension with C99 version
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-sparc')
-rw-r--r-- | target-sparc/op_helper.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c index 9de74c46c2..a1f505493a 100644 --- a/target-sparc/op_helper.c +++ b/target-sparc/op_helper.c @@ -13,22 +13,22 @@ //#define DEBUG_PCALL #ifdef DEBUG_MMU -#define DPRINTF_MMU(fmt, args...) \ -do { printf("MMU: " fmt , ##args); } while (0) +#define DPRINTF_MMU(fmt, ...) \ + do { printf("MMU: " fmt , ## __VA_ARGS__); } while (0) #else -#define DPRINTF_MMU(fmt, args...) do {} while (0) +#define DPRINTF_MMU(fmt, ...) do {} while (0) #endif #ifdef DEBUG_MXCC -#define DPRINTF_MXCC(fmt, args...) \ -do { printf("MXCC: " fmt , ##args); } while (0) +#define DPRINTF_MXCC(fmt, ...) \ + do { printf("MXCC: " fmt , ## __VA_ARGS__); } while (0) #else -#define DPRINTF_MXCC(fmt, args...) do {} while (0) +#define DPRINTF_MXCC(fmt, ...) do {} while (0) #endif #ifdef DEBUG_ASI -#define DPRINTF_ASI(fmt, args...) \ -do { printf("ASI: " fmt , ##args); } while (0) +#define DPRINTF_ASI(fmt, ...) \ + do { printf("ASI: " fmt , ## __VA_ARGS__); } while (0) #endif #ifdef TARGET_SPARC64 |