From 0fb3fb5b41f130352b561e7c240e6294a78bb663 Mon Sep 17 00:00:00 2001 From: cognet Date: Tue, 11 May 2004 15:42:44 +0000 Subject: Fix a few glitches in my previous commit. This makes config(8) WARNS?=6 compliant. --- usr.sbin/config/mkmakefile.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'usr.sbin/config/mkmakefile.c') diff --git a/usr.sbin/config/mkmakefile.c b/usr.sbin/config/mkmakefile.c index f7f3a9c..63bd348 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) { -- cgit v1.1