summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/config.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-06-10 22:13:40 +0000
committerpeter <peter@FreeBSD.org>2000-06-10 22:13:40 +0000
commit9fbe309befea3309aaa3b4ba51b0a98b67237143 (patch)
treed1d5b4de3ae6d63afdbed089889761df8d9c9f2c /usr.sbin/config/config.h
parent705b81c200d1314114fe9874115a22605e085a4c (diff)
downloadFreeBSD-src-9fbe309befea3309aaa3b4ba51b0a98b67237143.zip
FreeBSD-src-9fbe309befea3309aaa3b4ba51b0a98b67237143.tar.gz
A checkpoint of a part of a work-in-progress. Some more cleanups for
config(8). This commit allows control of the creation of the #include "foo.h" files. We now only create them explicitly when needed. BTW; these are mostly bad because they usually imply static limits on numbers of units for devices. eg: struct mysoftc sc[NFOO]; These static limits have Got To Go.
Diffstat (limited to 'usr.sbin/config/config.h')
-rw-r--r--usr.sbin/config/config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/config/config.h b/usr.sbin/config/config.h
index 5d1ff48..41a00b1 100644
--- a/usr.sbin/config/config.h
+++ b/usr.sbin/config/config.h
@@ -71,6 +71,8 @@ struct file_list {
#define NO_IMPLCT_RULE 2
#define NO_OBJ 4
#define BEFORE_DEPEND 8
+#define NEED_COUNT 16
+#define ISDUP 32
struct device {
int d_type; /* DEVICE, bus adaptor */
@@ -169,8 +171,6 @@ extern int debugging;
extern int maxusers;
-extern int old_config_present; /* Old config/build directory still there */
-
extern char *PREFIX; /* Config file name - for error messages */
extern char srcdir[]; /* root of the kernel source tree */
OpenPOWER on IntegriCloud