shithub: scc

Download patch

ref: eb4c3147c3cb01832446677556b63accf57c2b9e
parent: e3f1b3b7d51adc6b945a6d4db57efb15408cdf62
author: Roberto E. Vargas Caballero <[email protected]>
date: Wed Jan 18 12:46:08 EST 2017

Remove first parameter of DBG()

This first parameter was disallowing use of DBG() without a second
parameter.

--- a/inc/cc.h
+++ b/inc/cc.h
@@ -3,7 +3,7 @@
 
 #ifndef NDEBUG
 extern int debug;
-#define DBG(fmt, ...) dbg(fmt, __VA_ARGS__)
+#define DBG(...) dbg(__VA_ARGS__)
 #define DBGON() (debug = 1)
 #else
 #define DBG(...)