Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/config FIT_FORCESELECT is never set anywhere.
details: https://anonhg.NetBSD.org/src/rev/59001e01d8f5
branches: trunk
changeset: 332799:59001e01d8f5
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Thu Oct 09 19:27:04 2014 +0000
description:
FIT_FORCESELECT is never set anywhere.
diffstat:
usr.bin/config/defs.h | 3 +--
usr.bin/config/files.c | 9 ++-------
2 files changed, 3 insertions(+), 9 deletions(-)
diffs (40 lines):
diff -r 9a6f4b2fc31f -r 59001e01d8f5 usr.bin/config/defs.h
--- a/usr.bin/config/defs.h Thu Oct 09 19:24:36 2014 +0000
+++ b/usr.bin/config/defs.h Thu Oct 09 19:27:04 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: defs.h,v 1.52 2014/10/09 19:24:36 uebayasi Exp $ */
+/* $NetBSD: defs.h,v 1.53 2014/10/09 19:27:04 uebayasi Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -324,7 +324,6 @@
TAILQ_ENTRY(files) fit_anext; /* next file in attr */
};
/* Anything less than 0x10 is sub-type specific */
-#define FIT_FORCESELECT 0x20 /* Always include this file */
/*
* Files. Each file is either standard (always included) or optional,
diff -r 9a6f4b2fc31f -r 59001e01d8f5 usr.bin/config/files.c
--- a/usr.bin/config/files.c Thu Oct 09 19:24:36 2014 +0000
+++ b/usr.bin/config/files.c Thu Oct 09 19:27:04 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: files.c,v 1.15 2014/10/09 15:25:26 uebayasi Exp $ */
+/* $NetBSD: files.c,v 1.16 2014/10/09 19:27:04 uebayasi Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -270,12 +270,7 @@
if (fi->fi_flags & FI_HIDDEN)
continue;
- /* Optional: see if it is to be included. */
- if (fi->fi_flags & FIT_FORCESELECT)
- {
- /* include it */ ;
- }
- else if (fi->fi_optx != NULL) {
+ if (fi->fi_optx != NULL) {
if (fi->fi_optx->cx_type == CX_ATOM) {
addfiletoattr(fi->fi_optx->cx_u.atom, fi);
}
Home |
Main Index |
Thread Index |
Old Index