Module Name: src Committed By: martin Date: Thu Oct 9 07:43:55 UTC 2014
Modified Files: src/usr.bin/config: defs.h Log Message: Provide a CFGDBG version for the tools build. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/usr.bin/config/defs.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/config/defs.h diff -u src/usr.bin/config/defs.h:1.47 src/usr.bin/config/defs.h:1.48 --- src/usr.bin/config/defs.h:1.47 Thu Oct 9 06:45:31 2014 +++ src/usr.bin/config/defs.h Thu Oct 9 07:43:55 2014 @@ -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 @@ extern int dflag; 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);