summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/config.h
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-02-18 04:15:04 +0000
committereivind <eivind@FreeBSD.org>1998-02-18 04:15:04 +0000
commit6c500cca36cd8b42d90b9b5df1144ad9171cd977 (patch)
treeefa70db94c5ee708399755b993700ddb78e1ec3f /usr.sbin/config/config.h
parentfb3f84b8bf589c9ebeb77f8ab1a1caf40db52e5d (diff)
downloadFreeBSD-src-6c500cca36cd8b42d90b9b5df1144ad9171cd977.zip
FreeBSD-src-6c500cca36cd8b42d90b9b5df1144ad9171cd977.tar.gz
Make '-n' the default, and introduce a new flag '-r' to get old
behaviour. Also indicate which option(s) are unknown if there are any old-style options.
Diffstat (limited to 'usr.sbin/config/config.h')
-rw-r--r--usr.sbin/config/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/config/config.h b/usr.sbin/config/config.h
index d72448d..13adf19 100644
--- a/usr.sbin/config/config.h
+++ b/usr.sbin/config/config.h
@@ -177,6 +177,7 @@ struct cputype {
struct opt {
char *op_name;
char *op_value;
+ int op_line; /* line number for error-reporting */
int op_ownfile; /* true = own file, false = makefile */
struct opt *op_next;
} *opt, *mkopt;
@@ -229,4 +230,6 @@ u_int loadaddress;
extern int old_config_present; /* Old config/build directory still there */
+extern char *PREFIX; /* Config file name - for error messages */
+
#define eq(a,b) (!strcmp(a,b))
OpenPOWER on IntegriCloud