Module Name: src
Committed By: christos
Date: Mon Dec 24 02:07:44 UTC 2018
Modified Files:
src/usr.bin/config: main.c
Log Message:
yydebug is now defined only if YYDEBUG is
To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 src/usr.bin/config/main.c
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/main.c
diff -u src/usr.bin/config/main.c:1.97 src/usr.bin/config/main.c:1.98
--- src/usr.bin/config/main.c:1.97 Tue Nov 28 10:31:33 2017
+++ src/usr.bin/config/main.c Sun Dec 23 21:07:44 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.97 2017/11/28 15:31:33 christos Exp $ */
+/* $NetBSD: main.c,v 1.98 2018/12/24 02:07:44 christos Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -45,7 +45,7 @@
#endif
#include <sys/cdefs.h>
-__RCSID("$NetBSD: main.c,v 1.97 2017/11/28 15:31:33 christos Exp $");
+__RCSID("$NetBSD: main.c,v 1.98 2018/12/24 02:07:44 christos Exp $");
#ifndef MAKE_BOOTSTRAP
#include <sys/cdefs.h>
@@ -95,7 +95,7 @@ int handling_cmdlineopts; /* currently
int yyparse(void);
-#ifndef MAKE_BOOTSTRAP
+#if !defined(MAKE_BOOTSTRAP) && defined(YYDEBUG)
extern int yydebug;
#endif
int dflag;
@@ -172,7 +172,7 @@ main(int argc, char **argv)
switch (ch) {
case 'd':
-#ifndef MAKE_BOOTSTRAP
+#if !defined(MAKE_BOOTSTRAP) && defined(YYDEBUG)
yydebug = 1;
#endif
dflag++;