[hackers] [scc] Remove first parameter of DBG() || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Thu, 19 Jan 2017 10:00:32 +0100 (CET)

commit 4aa31926c882067cf65c9230e9cfa61d575ae1aa
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Wed Jan 18 17:46:08 2017 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Wed Jan 18 17:46:08 2017 +0100

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

diff --git a/inc/cc.h b/inc/cc.h
index 2f93c93..7fcc4fd 100644
--- a/inc/cc.h
+++ b/inc/cc.h
_AT_@ -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(...)
Received on Thu Jan 19 2017 - 10:00:32 CET

This archive was generated by hypermail 2.3.0 : Thu Jan 19 2017 - 10:12:27 CET