summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_clist.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-12-14 08:32:45 +0000
committerphk <phk@FreeBSD.org>1995-12-14 08:32:45 +0000
commit63ec2c0ae9b44c5394bae5d6ee7fea5be9659585 (patch)
tree17b584943b186d479fdf3906ec2bef1ea2ca47bf /sys/kern/subr_clist.c
parent30e263dcabc35e19f5e060d92f09d212e9b56668 (diff)
downloadFreeBSD-src-63ec2c0ae9b44c5394bae5d6ee7fea5be9659585.zip
FreeBSD-src-63ec2c0ae9b44c5394bae5d6ee7fea5be9659585.tar.gz
A Major staticize sweep. Generates a couple of warnings that I'll deal
with later. A number of unused vars removed. A number of unused procs removed or #ifdefed.
Diffstat (limited to 'sys/kern/subr_clist.c')
-rw-r--r--sys/kern/subr_clist.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/subr_clist.c b/sys/kern/subr_clist.c
index eaebf68..a7a4fa1 100644
--- a/sys/kern/subr_clist.c
+++ b/sys/kern/subr_clist.c
@@ -6,7 +6,7 @@
* of this software, nor does the author assume any responsibility
* for damages incurred with its use.
*
- * $Id: tty_subr.c,v 1.17 1995/11/02 08:37:22 peter Exp $
+ * $Id: tty_subr.c,v 1.18 1995/11/20 12:15:45 phk Exp $
*/
/*
@@ -24,7 +24,7 @@
static void clist_init __P((void *));
SYSINIT(clist, SI_SUB_CLIST, SI_ORDER_FIRST, clist_init, NULL)
-struct cblock *cfreelist = 0;
+static struct cblock *cfreelist = 0;
int cfreecount = 0;
static int cslushcount;
static int ctotcount;
@@ -39,10 +39,10 @@ static void cblock_free __P((struct cblock *cblockp));
static void cblock_free_cblocks __P((int number));
#ifdef DDB
-static void cbstat __P((void));
+void DDB_cbstat __P((void));
static void
-cbstat()
+DDB_cbstat()
{
printf(
"tot = %d (active = %d, free = %d (reserved = %d, slush = %d))\n",
OpenPOWER on IntegriCloud