Commit 41eb6086 authored by Damien George's avatar Damien George
Browse files

py: Remove more var arg names fro macros with var args.

parent d5e81826
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#define DEBUG_PRINT (1) #define DEBUG_PRINT (1)
#define DEBUG_printf DEBUG_printf #define DEBUG_printf DEBUG_printf
#else // don't print debugging info #else // don't print debugging info
#define DEBUG_printf(args...) (void)0 #define DEBUG_printf(...) (void)0
#endif #endif
typedef unsigned char byte; typedef unsigned char byte;
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#if 0 // print debugging info #if 0 // print debugging info
#define DEBUG_PRINT (1) #define DEBUG_PRINT (1)
#else // don't print debugging info #else // don't print debugging info
#define DEBUG_printf(args...) (void)0 #define DEBUG_printf(...) (void)0
#endif #endif
/******************************************************************************/ /******************************************************************************/
......
...@@ -25,10 +25,10 @@ ...@@ -25,10 +25,10 @@
#define DEBUG_PRINT (1) #define DEBUG_PRINT (1)
#define WRITE_CODE (1) #define WRITE_CODE (1)
#define DEBUG_printf DEBUG_printf #define DEBUG_printf DEBUG_printf
#define DEBUG_OP_printf(args...) DEBUG_printf(args) #define DEBUG_OP_printf(...) DEBUG_printf(__VA_ARGS__)
#else // don't print debugging info #else // don't print debugging info
#define DEBUG_printf(args...) (void)0 #define DEBUG_printf(...) (void)0
#define DEBUG_OP_printf(args...) (void)0 #define DEBUG_OP_printf(...) (void)0
#endif #endif
// locals and globals need to be pointers because they can be the same in outer module scope // locals and globals need to be pointers because they can be the same in outer module scope
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment