summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/mkmakefile.c
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2004-05-11 15:42:44 +0000
committercognet <cognet@FreeBSD.org>2004-05-11 15:42:44 +0000
commit0fb3fb5b41f130352b561e7c240e6294a78bb663 (patch)
treea24830ff7226218adcd43265de41c51d98214622 /usr.sbin/config/mkmakefile.c
parentf6d9b853cba00ba716adeb690f6ce139c7e01b57 (diff)
downloadFreeBSD-src-0fb3fb5b41f130352b561e7c240e6294a78bb663.zip
FreeBSD-src-0fb3fb5b41f130352b561e7c240e6294a78bb663.tar.gz
Fix a few glitches in my previous commit.
This makes config(8) WARNS?=6 compliant.
Diffstat (limited to 'usr.sbin/config/mkmakefile.c')
-rw-r--r--usr.sbin/config/mkmakefile.c3
1 files changed, 1 insertions, 2 deletions
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) {
OpenPOWER on IntegriCloud