Skip to content

Commit 41eb608

Browse files
committed
py: Remove more var arg names fro macros with var args.
1 parent d5e8182 commit 41eb608

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

py/gc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#define DEBUG_PRINT (1)
1313
#define DEBUG_printf DEBUG_printf
1414
#else // don't print debugging info
15-
#define DEBUG_printf(args...) (void)0
15+
#define DEBUG_printf(...) (void)0
1616
#endif
1717

1818
typedef unsigned char byte;

py/objfun.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#if 0 // print debugging info
1818
#define DEBUG_PRINT (1)
1919
#else // don't print debugging info
20-
#define DEBUG_printf(args...) (void)0
20+
#define DEBUG_printf(...) (void)0
2121
#endif
2222

2323
/******************************************************************************/

py/runtime.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
#define DEBUG_PRINT (1)
2626
#define WRITE_CODE (1)
2727
#define DEBUG_printf DEBUG_printf
28-
#define DEBUG_OP_printf(args...) DEBUG_printf(args)
28+
#define DEBUG_OP_printf(...) DEBUG_printf(__VA_ARGS__)
2929
#else // don't print debugging info
30-
#define DEBUG_printf(args...) (void)0
31-
#define DEBUG_OP_printf(args...) (void)0
30+
#define DEBUG_printf(...) (void)0
31+
#define DEBUG_OP_printf(...) (void)0
3232
#endif
3333

3434
// locals and globals need to be pointers because they can be the same in outer module scope

0 commit comments

Comments
 (0)