Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/config Clean up struct files.
details: https://anonhg.NetBSD.org/src/rev/a5205eae15bc
branches: trunk
changeset: 340355:a5205eae15bc
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Tue Sep 01 12:32:26 2015 +0000
description:
Clean up struct files.
diffstat:
usr.bin/config/defs.h | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (32 lines):
diff -r e952ba31e110 -r a5205eae15bc usr.bin/config/defs.h
--- a/usr.bin/config/defs.h Tue Sep 01 12:10:56 2015 +0000
+++ b/usr.bin/config/defs.h Tue Sep 01 12:32:26 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: defs.h,v 1.78 2015/09/01 12:10:56 uebayasi Exp $ */
+/* $NetBSD: defs.h,v 1.79 2015/09/01 12:32:26 uebayasi Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -337,11 +337,10 @@
*/
struct files {
TAILQ_ENTRY(files) fi_next;
- TAILQ_ENTRY(files) fi_snext;
+ TAILQ_ENTRY(files) fi_snext; /* per-suffix list */
const char *fi_srcfile; /* the name of the "files" file that got us */
u_short fi_srcline; /* and the line number */
- u_char fi_flags; /* as below */
- char fi_lastc; /* last char from path */
+ u_char fi_flags; /* as below */
const char *fi_tail; /* name, i.e., strrchr(fi_path, '/') + 1 */
const char *fi_base; /* tail minus ".c" (or whatever) */
const char *fi_path; /* full file path */
@@ -350,7 +349,7 @@
size_t fi_len; /* path string length */
struct condexpr *fi_optx; /* options expression */
struct nvlist *fi_optf; /* flattened version of above, if needed */
- const char *fi_mkrule; /* special make rule, if any */
+ const char *fi_mkrule; /* special make rule, if any */
struct attr *fi_attr; /* owner attr */
TAILQ_ENTRY(files) fi_anext; /* next file in attr */
};
Home |
Main Index |
Thread Index |
Old Index