Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/pam-u2f/dist define as empty when not debugging.



details:   https://anonhg.NetBSD.org/src/rev/51a443c2ec14
branches:  trunk
changeset: 969832:51a443c2ec14
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Mar 03 00:20:45 2020 +0000

description:
define as empty when not debugging.

diffstat:

 external/bsd/pam-u2f/dist/util.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 6a2551587c9c -r 51a443c2ec14 external/bsd/pam-u2f/dist/util.h
--- a/external/bsd/pam-u2f/dist/util.h  Tue Mar 03 00:20:20 2020 +0000
+++ b/external/bsd/pam-u2f/dist/util.h  Tue Mar 03 00:20:45 2020 +0000
@@ -25,7 +25,7 @@
 #if defined(DEBUG_PAM)
 #define D(file, ...) _debug(file, __FILE__, __LINE__, __func__, __VA_ARGS__)
 #else
-#define D(file, ...)
+#define D(file, ...) ((void)0)
 #endif /* DEBUG_PAM */
 
 typedef struct {



Home | Main Index | Thread Index | Old Index