From 6cc289554b8533c3a4ccee449df82dd25964011a Mon Sep 17 00:00:00 2001 From: markm Date: Wed, 30 Apr 2003 12:57:40 +0000 Subject: Fix some easy, global, lint warnings. In most cases, this means making some local variables static. In a couple of cases, this means removing an unused variable. --- sys/kern/uipc_sockbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/kern/uipc_sockbuf.c') diff --git a/sys/kern/uipc_sockbuf.c b/sys/kern/uipc_sockbuf.c index cc23dc3..e2a125f 100644 --- a/sys/kern/uipc_sockbuf.c +++ b/sys/kern/uipc_sockbuf.c @@ -67,7 +67,7 @@ void (*aio_swake)(struct socket *, struct sockbuf *); */ u_long sb_max = SB_MAX; -u_long sb_max_adj = +static u_long sb_max_adj = SB_MAX * MCLBYTES / (MSIZE + MCLBYTES); /* adjusted sb_max */ static u_long sb_efficiency = 8; /* parameter for sbreserve() */ -- cgit v1.1