summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/main.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-05-09 18:54:25 +0000
committerpeter <peter@FreeBSD.org>1999-05-09 18:54:25 +0000
commita6a77a4ef93c385202c35b5e7863f7731b0a1a1b (patch)
tree854aca08f7a6abbe966438f37cde272586302449 /usr.sbin/config/main.c
parentdae3d761e5b07d8ae6b07002978842e2a6d151c9 (diff)
downloadFreeBSD-src-a6a77a4ef93c385202c35b5e7863f7731b0a1a1b.zip
FreeBSD-src-a6a77a4ef93c385202c35b5e7863f7731b0a1a1b.tar.gz
Put on my viking helmet from the closet, and get out the war axe and
"retire" some more stuff.
Diffstat (limited to 'usr.sbin/config/main.c')
-rw-r--r--usr.sbin/config/main.c27
1 files changed, 1 insertions, 26 deletions
diff --git a/usr.sbin/config/main.c b/usr.sbin/config/main.c
index 7088c08..81b04dd 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.32 1999/04/24 18:59:19 peter Exp $";
+ "$Id: main.c,v 1.33 1999/05/09 17:23:35 phk Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -75,28 +75,6 @@ static void usage __P((void));
static void configfile __P((void));
/*
- * note that a configuration should be made
- */
-static void
-mkconf(sysname)
- char *sysname;
-{
- register struct file_list *fl, **flp;
-
- fl = (struct file_list *) malloc(sizeof *fl);
- memset(fl, 0, sizeof(*fl));
- fl->f_type = SYSTEMSPEC;
- fl->f_needs = sysname;
- fl->f_rootdev = 0;
- fl->f_fn = 0;
- fl->f_next = 0;
- for (flp = confp; *flp; flp = &(*flp)->f_next)
- ;
- *flp = fl;
- confp = flp;
-}
-
-/*
* Config builds a set of files for building a UNIX
* system given a description of the desired system.
*/
@@ -165,8 +143,6 @@ main(argc, argv)
old_config_present = 1;
dtab = NULL;
- confp = &conf_list;
- mkconf("kernel");
if (yyparse())
exit(3);
switch (machine) {
@@ -195,7 +171,6 @@ main(argc, argv)
options(); /* make options .h files */
makefile(); /* build Makefile */
headers(); /* make a lot of .h files */
- swapconf(); /* swap config files */
configfile(); /* put config file into kernel*/
printf("Kernel build directory is %s\n", p);
exit(0);
OpenPOWER on IntegriCloud