Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/ntp/dist/ntpd only use yydebug if YYDEBUG



details:   https://anonhg.NetBSD.org/src/rev/70168354cea7
branches:  trunk
changeset: 446885:70168354cea7
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Dec 24 02:58:39 2018 +0000

description:
only use yydebug if YYDEBUG

diffstat:

 external/bsd/ntp/dist/ntpd/ntp_config.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e1877d93bd44 -r 70168354cea7 external/bsd/ntp/dist/ntpd/ntp_config.c
--- a/external/bsd/ntp/dist/ntpd/ntp_config.c   Mon Dec 24 02:39:12 2018 +0000
+++ b/external/bsd/ntp/dist/ntpd/ntp_config.c   Mon Dec 24 02:58:39 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ntp_config.c,v 1.19 2018/09/29 21:52:33 christos Exp $ */
+/*     $NetBSD: ntp_config.c,v 1.20 2018/12/24 02:58:39 christos Exp $ */
 
 /* ntp_config.c
  *
@@ -4750,7 +4750,7 @@
 
 
        /*** BULK OF THE PARSER ***/
-#ifdef DEBUG
+#if defined(DEBUG) && defined(YYDEBUG)
        yydebug = !!(debug >= 5);
 #endif
        yyparse();



Home | Main Index | Thread Index | Old Index