Fix a few glitches in my previous commit.
This makes config(8) WARNS?=6 compliant.
This commit is contained in:
parent
2db6331792
commit
dd472ec61d
@ -6,7 +6,7 @@ MAN= config.8
|
||||
SRCS= config.y main.c lang.l mkmakefile.c mkheaders.c \
|
||||
mkoptions.c y.tab.h
|
||||
|
||||
WARNS?= 1
|
||||
WARNS?= 6
|
||||
CFLAGS+= -I. -I${.CURDIR}
|
||||
|
||||
DPADD= ${LIBL}
|
||||
|
@ -293,7 +293,7 @@ makefile(void)
|
||||
moveifchanged(path("env.c.new"), path("env.c"));
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
read_file(char *fname)
|
||||
{
|
||||
FILE *fp;
|
||||
@ -542,7 +542,6 @@ static void
|
||||
read_files(void)
|
||||
{
|
||||
char fname[MAXPATHLEN];
|
||||
FILE *fp;
|
||||
struct files_name *nl, *tnl;
|
||||
|
||||
if (ident == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user