diff options
| author | Olivier Houchard <cognet@FreeBSD.org> | 2004-05-11 15:42:44 +0000 |
|---|---|---|
| committer | Olivier Houchard <cognet@FreeBSD.org> | 2004-05-11 15:42:44 +0000 |
| commit | dd472ec61dca7adf2fc003e2806809864bbe00e3 (patch) | |
| tree | a24830ff7226218adcd43265de41c51d98214622 | |
| parent | 2db6331792cb22d92d79b7f2a6db7e247802f9e1 (diff) | |
Notes
| -rw-r--r-- | usr.sbin/config/Makefile | 2 | ||||
| -rw-r--r-- | usr.sbin/config/mkmakefile.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/config/Makefile b/usr.sbin/config/Makefile index 5c6cf5d6371c..6f6ecce21efa 100644 --- a/usr.sbin/config/Makefile +++ b/usr.sbin/config/Makefile @@ -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} diff --git a/usr.sbin/config/mkmakefile.c b/usr.sbin/config/mkmakefile.c index f7f3a9c24ee1..63bd34884dea 100644 --- a/usr.sbin/config/mkmakefile.c +++ b/usr.sbin/config/mkmakefile.c @@ -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) { |
