Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/config Fix build.
details: https://anonhg.NetBSD.org/src/rev/e0c5376ce501
branches: trunk
changeset: 340398:e0c5376ce501
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Thu Sep 03 06:08:38 2015 +0000
description:
Fix build.
diffstat:
usr.bin/config/main.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (43 lines):
diff -r 0624b2dcec23 -r e0c5376ce501 usr.bin/config/main.c
--- a/usr.bin/config/main.c Thu Sep 03 05:45:16 2015 +0000
+++ b/usr.bin/config/main.c Thu Sep 03 06:08:38 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.86 2015/09/03 02:45:24 uebayasi Exp $ */
+/* $NetBSD: main.c,v 1.87 2015/09/03 06:08:38 uebayasi Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -45,7 +45,7 @@
#endif
#include <sys/cdefs.h>
-__RCSID("$NetBSD: main.c,v 1.86 2015/09/03 02:45:24 uebayasi Exp $");
+__RCSID("$NetBSD: main.c,v 1.87 2015/09/03 06:08:38 uebayasi Exp $");
#ifndef MAKE_BOOTSTRAP
#include <sys/cdefs.h>
@@ -653,7 +653,7 @@
mksubdirs(struct filelist *fl)
{
struct files *fi;
- const char *prefix, *sep;
+ const char *prologue, *prefix, *sep;
char buf[MAXPATHLEN];
TAILQ_FOREACH(fi, fl, fi_next) {
@@ -674,7 +674,6 @@
continue;
mksubdir(buf);
if (fi->fi_prefix != NULL && fi->fi_buildprefix != NULL) {
- const char *prologue, *sep;
char org[MAXPATHLEN];
if (fi->fi_prefix[0] == '/') {
@@ -704,6 +703,7 @@
mksubdirs(&allfiles);
mksubdirs(&allofiles);
buildconfdir = "conf";
+ return 0;
}
/*
Home |
Main Index |
Thread Index |
Old Index