Fix a few glitches in my previous commit.

This makes config(8) WARNS?=6 compliant.
This commit is contained in:
Olivier Houchard 2004-05-11 15:42:44 +00:00
parent 2db6331792
commit dd472ec61d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129119
2 changed files with 2 additions and 3 deletions

View File

@ -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}

View File

@ -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) {