summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>2002-10-06 20:19:53 +0000
committerart <art@openbsd.org>2002-10-06 20:19:53 +0000
commit12164a83a0c54588558e3a4204d1ab93870bc401 (patch)
treec1b5ebfa48f0c559383a53e6c32f8eddfdab2c78
parentDeclare nbuf just like all other architectures. (diff)
downloadwireguard-openbsd-12164a83a0c54588558e3a4204d1ab93870bc401.tar.xz
wireguard-openbsd-12164a83a0c54588558e3a4204d1ab93870bc401.zip
nbuf doesn't belong here. It's declared on all architectures instead.
And here it goes into the bss, while it's initialized in MD code.
-rw-r--r--sys/conf/param.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/conf/param.c b/sys/conf/param.c
index 6cded81a9dd..4b95b93971d 100644
--- a/sys/conf/param.c
+++ b/sys/conf/param.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.c,v 1.19 2002/03/23 13:28:34 espie Exp $ */
+/* $OpenBSD: param.c,v 1.20 2002/10/06 20:19:53 art Exp $ */
/* $NetBSD: param.c,v 1.16 1996/03/12 03:08:40 mrg Exp $ */
/*
@@ -161,12 +161,6 @@ struct msginfo msginfo = {
#endif
/*
- * These are initialized at bootstrap time
- * to values dependent on memory size
- */
-int nbuf;
-
-/*
* These have to be allocated somewhere; allocating
* them here forces loader errors if this file is omitted
* (if they've been externed everywhere else; hah!).