Fix a few glitches in my previous commit.
This makes config(8) WARNS?=6 compliant.
This commit is contained in:
parent
f6d9b853cb
commit
0fb3fb5b41
@ -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