summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_param.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-07-29 11:44:31 +0000
committerbde <bde@FreeBSD.org>1995-07-29 11:44:31 +0000
commit38a74a7bc23af4d5ed5deeff2f4ab6329b0a26cc (patch)
treeb89d1e0366b685acdcb1eb8c959a65e2e330cb0c /sys/kern/subr_param.c
parent795b455aacbca36da42882b1290f5d37f1618bfe (diff)
downloadFreeBSD-src-38a74a7bc23af4d5ed5deeff2f4ab6329b0a26cc.zip
FreeBSD-src-38a74a7bc23af4d5ed5deeff2f4ab6329b0a26cc.tar.gz
Eliminate sloppy common-style declarations. There should be none left for
the LINT configuation.
Diffstat (limited to 'sys/kern/subr_param.c')
-rw-r--r--sys/kern/subr_param.c17
1 files changed, 11 insertions, 6 deletions
diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c
index 3bba6e6..0a03cd6 100644
--- a/sys/kern/subr_param.c
+++ b/sys/kern/subr_param.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)param.c 8.2 (Berkeley) 1/21/94
- * $Id: param.c,v 1.10 1995/06/29 07:06:53 davidg Exp $
+ * $Id: param.c,v 1.11 1995/06/29 08:21:32 davidg Exp $
*/
#include <sys/param.h>
@@ -162,19 +162,24 @@ struct msginfo msginfo = {
#endif
/*
- * These are initialized at bootstrap time
- * to values dependent on memory size
+ * These may be set to nonzero here or by patching.
+ * If they are nonzero at bootstrap time then they are
+ * initialized to values dependent on the memory size.
*/
-int nbuf, nswbuf;
+#ifdef NBUF
+int nbuf = NBUF;
+#else
+int nbuf = 0;
+#endif
+int nswbuf = 0;
/*
* 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!).
*/
-struct callout *callout;
struct cblock *cfree;
-struct buf *buf, *swbuf;
+struct buf *swbuf;
char *buffers;
/*
OpenPOWER on IntegriCloud