Module Name:    src
Committed By:   christos
Date:           Mon Dec 24 02:58:39 UTC 2018

Modified Files:
        src/external/bsd/ntp/dist/ntpd: ntp_config.c

Log Message:
only use yydebug if YYDEBUG


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/external/bsd/ntp/dist/ntpd/ntp_config.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/ntp/dist/ntpd/ntp_config.c
diff -u src/external/bsd/ntp/dist/ntpd/ntp_config.c:1.19 src/external/bsd/ntp/dist/ntpd/ntp_config.c:1.20
--- src/external/bsd/ntp/dist/ntpd/ntp_config.c:1.19	Sat Sep 29 17:52:33 2018
+++ src/external/bsd/ntp/dist/ntpd/ntp_config.c	Sun Dec 23 21:58:39 2018
@@ -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 @@ getconfig(
 
 
 	/*** BULK OF THE PARSER ***/
-#ifdef DEBUG
+#if defined(DEBUG) && defined(YYDEBUG)
 	yydebug = !!(debug >= 5);
 #endif
 	yyparse();

Reply via email to