diff options
author | peter <peter@FreeBSD.org> | 1999-04-17 14:41:41 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-04-17 14:41:41 +0000 |
commit | 911997aae85b3a2dadfb6a3d507fbf3e3d775e4f (patch) | |
tree | a2d650438d9efb71da65c423f887b1da272a7eb6 /usr.sbin/config/config.h | |
parent | 8dc2affd00864d25873b83cbcce034d1886c4b98 (diff) | |
download | FreeBSD-src-911997aae85b3a2dadfb6a3d507fbf3e3d775e4f.zip FreeBSD-src-911997aae85b3a2dadfb6a3d507fbf3e3d775e4f.tar.gz |
Get out the blow torch and hack away all the unused stuff. Note that
I zapped the MACHINE_MIPS stuff, it isn't likely to be useful apart from
recognition of the machine name. It would be reasonable to expect new
ports would look something like the alpha/i386 from a config perspective.
Diffstat (limited to 'usr.sbin/config/config.h')
-rw-r--r-- | usr.sbin/config/config.h | 54 |
1 files changed, 20 insertions, 34 deletions
diff --git a/usr.sbin/config/config.h b/usr.sbin/config/config.h index 823d541..5a72b17 100644 --- a/usr.sbin/config/config.h +++ b/usr.sbin/config/config.h @@ -153,16 +153,9 @@ struct config { */ int machine; char *machinename; -#define MACHINE_VAX 1 -#define MACHINE_TAHOE 2 -#define MACHINE_HP300 3 -#define MACHINE_I386 4 -#define MACHINE_MIPS 5 -#define MACHINE_PMAX 6 -#define MACHINE_LUNA68K 7 -#define MACHINE_NEWS3400 8 -#define MACHINE_PC98 9 -#define MACHINE_ALPHA 10 +#define MACHINE_I386 1 +#define MACHINE_PC98 2 +#define MACHINE_ALPHA 3 /* * For each machine, a set of CPU's may be specified as supported. @@ -192,45 +185,38 @@ struct opt_list { struct opt_list *o_next; } *otab; -char *ident; +extern char *ident; +extern int do_trace; + char *ns(); char *tc(); -char *qu(); char *get_word(); char *get_quoted_word(); char *path(); -char *raise(); +char *raisestr(); void moveifchanged(); +dev_t nametodev(); +char *devtoname(); +void init_dev __P((struct device *)); -int do_trace; -#if MACHINE_VAX -int seen_mba, seen_uba; -#endif -#if MACHINE_TAHOE -int seen_vba; -#endif #if MACHINE_I386 -int seen_isa; -int seen_scbus; +extern int seen_isa; +extern int seen_scbus; #endif -int seen_cd; -struct device *connect(); -struct device *dtab; -dev_t nametodev(); -char *devtoname(); +extern struct device *dtab; -char errbuf[80]; -int yyline; +extern char errbuf[80]; +extern int yyline; -struct file_list *ftab, *conf_list, **confp, *comp_list, **compp; +extern struct file_list *ftab, *conf_list, **confp, *comp_list, **compp; -int profiling; -int debugging; +extern int profiling; +extern int debugging; -int maxusers; -u_int loadaddress; +extern int maxusers; +extern u_int loadaddress; extern int old_config_present; /* Old config/build directory still there */ |