summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-27 11:27:44 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-27 11:27:44 +0000
commitb39faf7eafd0c20fef2ff31cf59425f3879b0cba (patch)
tree3e706ab8ac09dfe3ce3cf26b11147eff1b29a7f5 /sys
parentf5ecfa63afb83a67bdeae5d9c35636e0bff80ef3 (diff)
subr_userconf.c only for BOOT_CONFIG option
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/files4
-rw-r--r--sys/kern/subr_userconf.c10
2 files changed, 3 insertions, 11 deletions
diff --git a/sys/conf/files b/sys/conf/files
index b1d003c2561..0687005d295 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -1,4 +1,4 @@
-# $OpenBSD: files,v 1.29 1996/07/27 07:20:01 deraadt Exp $
+# $OpenBSD: files,v 1.30 1996/07/27 11:27:38 deraadt Exp $
# $NetBSD: files,v 1.87 1996/05/19 17:17:50 jonathan Exp $
# @(#)files.newconf 7.5 (Berkeley) 5/10/93
@@ -146,7 +146,7 @@ file kern/subr_log.c
file kern/subr_prf.c
file kern/subr_prof.c
file kern/subr_rmap.c
-file kern/subr_userconf.c
+file kern/subr_userconf.c boot_config
file kern/subr_xxx.c
file kern/sys_generic.c
file kern/sys_process.c
diff --git a/sys/kern/subr_userconf.c b/sys/kern/subr_userconf.c
index efac403ac75..1c8304e4764 100644
--- a/sys/kern/subr_userconf.c
+++ b/sys/kern/subr_userconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_userconf.c,v 1.4 1996/07/02 06:52:00 niklas Exp $ */
+/* $OpenBSD: subr_userconf.c,v 1.5 1996/07/27 11:27:43 deraadt Exp $ */
/*
* Copyright (c) 1996 Mats O Jansson <moj@stacken.kth.se>
@@ -32,7 +32,6 @@
* SUCH DAMAGE.
*/
-#ifdef BOOT_CONFIG
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
@@ -838,10 +837,3 @@ user_config()
}
printf("Continuing...\n");
}
-#else BOOT_CONFIG
-void
-user_config()
-{
- printf("User Kernel Config isn't supported in this kernel\n");
-}
-#endif