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/main.c | |
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/main.c')
-rw-r--r-- | usr.sbin/config/main.c | 39 |
1 files changed, 8 insertions, 31 deletions
diff --git a/usr.sbin/config/main.c b/usr.sbin/config/main.c index b190ab0..2a8a896 100644 --- a/usr.sbin/config/main.c +++ b/usr.sbin/config/main.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93"; #endif static const char rcsid[] = - "$Id: main.c,v 1.28 1999/04/10 14:03:38 ache Exp $"; + "$Id: main.c,v 1.29 1999/04/11 03:40:10 grog Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -65,12 +65,15 @@ static const char rcsid[] = #define FALSE (0) #endif -char *PREFIX; +char * PREFIX; static int no_config_clobber = TRUE; -int old_config_present; +int old_config_present; +int debugging; +int profiling; +u_int loadaddress; static void usage __P((void)); -void configfile __P((void)); +static void configfile __P((void)); /* * Config builds a set of files for building a UNIX @@ -148,35 +151,9 @@ main(argc, argv) exit(3); switch (machine) { - case MACHINE_VAX: - vax_ioconf(); /* Print ioconf.c */ - ubglue(); /* Create ubglue.s */ - break; - - case MACHINE_TAHOE: - tahoe_ioconf(); - vbglue(); - break; - - case MACHINE_HP300: - case MACHINE_LUNA68K: - hp300_ioconf(); - hpglue(); - break; - case MACHINE_I386: case MACHINE_PC98: i386_ioconf(); /* Print ioconf.c */ - vector(); /* Create vector.s */ - break; - - case MACHINE_MIPS: - case MACHINE_PMAX: - pmax_ioconf(); - break; - - case MACHINE_NEWS3400: - news_ioconf(); break; case MACHINE_ALPHA: @@ -343,7 +320,7 @@ path(file) return (cp); } -void +static void configfile() { FILE *fi, *fo; |