"YFLAGS=-d" causes inconsistent parallelism behavior. Instead, use the

NetBSD standard YHEADER and #include "rc_parse.h".
This commit is contained in:
tv 2001-10-19 22:57:53 +00:00
parent 2a957ed711
commit f526c532b2
3 changed files with 6 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2001/01/10 18:11:05 thorpej Exp $
# $NetBSD: Makefile,v 1.4 2001/10/19 22:57:53 tv Exp $
PROG = isdnd
SRCS = rc_parse.y rc_scan.l main.c rc_config.c log.c curses.c \
@ -14,8 +14,7 @@ CPPFLAGS+= -DDEBUG
MAN = isdnd.8 isdnd.rc.5 isdnd.rates.5 isdnd.acct.5
LDADD+=-ly -ll
YFLAGS += -d
CLEANFILES+= y.tab.h
YHEADER=1
.include <bsd.prog.mk>

View File

@ -27,7 +27,7 @@
* i4b daemon - config file processing
* -----------------------------------
*
* $Id: rc_config.c,v 1.3 2001/04/09 21:18:00 martin Exp $
* $Id: rc_config.c,v 1.4 2001/10/19 22:57:54 tv Exp $
*
* $FreeBSD$
*
@ -44,7 +44,7 @@
#include <sys/ioctl.h>
#include "isdnd.h"
#include "y.tab.h"
#include "rc_parse.h"
#include "monitor.h"

View File

@ -30,7 +30,7 @@
* i4b daemon - runtime configuration lexical analyzer
* ---------------------------------------------------
*
* $Id: rc_scan.l,v 1.2 2001/01/07 21:01:03 martin Exp $
* $Id: rc_scan.l,v 1.3 2001/10/19 22:57:54 tv Exp $
*
* $FreeBSD$
*
@ -47,7 +47,7 @@
#include <ctype.h>
#include <sysexits.h>
#include "y.tab.h"
#include "rc_parse.h"
int lineno;
void reset_scanner(FILE *infile);