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/472ba4ae4958
branches:  trunk
changeset: 745466:472ba4ae4958
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 c635dd2a6604 -r 472ba4ae4958 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