Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Make pool_head static.



details:   https://anonhg.NetBSD.org/src/rev/f5411bbd1932
branches:  trunk
changeset: 747036:f5411bbd1932
user:      rmind <rmind%NetBSD.org@localhost>
date:      Sat Aug 29 00:09:02 2009 +0000

description:
Make pool_head static.

diffstat:

 sys/kern/subr_pool.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 1d39b53b876b -r f5411bbd1932 sys/kern/subr_pool.c
--- a/sys/kern/subr_pool.c      Sat Aug 29 00:06:43 2009 +0000
+++ b/sys/kern/subr_pool.c      Sat Aug 29 00:09:02 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_pool.c,v 1.172 2009/04/15 11:45:18 yamt Exp $     */
+/*     $NetBSD: subr_pool.c,v 1.173 2009/08/29 00:09:02 rmind Exp $    */
 
 /*-
  * Copyright (c) 1997, 1999, 2000, 2002, 2007, 2008 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.172 2009/04/15 11:45:18 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.173 2009/08/29 00:09:02 rmind Exp $");
 
 #include "opt_ddb.h"
 #include "opt_pool.h"
@@ -69,7 +69,7 @@
  */
 
 /* List of all pools */
-TAILQ_HEAD(,pool) pool_head = TAILQ_HEAD_INITIALIZER(pool_head);
+static TAILQ_HEAD(, pool) pool_head = TAILQ_HEAD_INITIALIZER(pool_head);
 
 /* Private pool for page header structures */
 #define        PHPOOL_MAX      8



Home | Main Index | Thread Index | Old Index