Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/config Provide a CFGDBG version for the tools build.



details:   https://anonhg.NetBSD.org/src/rev/4b0db953e9f9
branches:  trunk
changeset: 332786:4b0db953e9f9
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Oct 09 07:43:55 2014 +0000

description:
Provide a CFGDBG version for the tools build.

diffstat:

 usr.bin/config/defs.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 1f8028516d24 -r 4b0db953e9f9 usr.bin/config/defs.h
--- a/usr.bin/config/defs.h     Thu Oct 09 07:05:01 2014 +0000
+++ b/usr.bin/config/defs.h     Thu Oct 09 07:43:55 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: defs.h,v 1.47 2014/10/09 06:45:31 uebayasi Exp $       */
+/*     $NetBSD: defs.h,v 1.48 2014/10/09 07:43:55 martin Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -628,6 +628,8 @@
        do { if ((dflag) >= (n)) cfgdbg(__VA_ARGS__); } while (0)
 void   cfgdbg(const char *, ...)                       /* debug info */
      __printflike(1, 2);
+#else
+#define        CFGDBG(n, ...) /* */
 #endif
 void   cfgwarn(const char *, ...)                      /* immediate warns */
      __printflike(1, 2);



Home | Main Index | Thread Index | Old Index