Fix a few glitches in my previous commit.

This makes config(8) WARNS?=6 compliant.
This commit is contained in:
cognet 2004-05-11 15:42:44 +00:00
parent f6d9b853cb
commit 0fb3fb5b41
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) {