diff --git a/sys/kern/kern_event.c b/sys/kern/kern_event.c index 63099fca674f..a67180e2be1a 100644 --- a/sys/kern/kern_event.c +++ b/sys/kern/kern_event.c @@ -1,4 +1,4 @@ -/* $NetBSD: kern_event.c,v 1.25 2005/12/11 12:24:29 christos Exp $ */ +/* $NetBSD: kern_event.c,v 1.26 2006/04/21 14:00:18 yamt Exp $ */ /*- * Copyright (c) 1999,2000,2001 Jonathan Lemon * All rights reserved. @@ -28,7 +28,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: kern_event.c,v 1.25 2005/12/11 12:24:29 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_event.c,v 1.26 2006/04/21 14:00:18 yamt Exp $"); #include #include @@ -100,11 +100,11 @@ static const struct filterops proc_filtops = { 0, filt_procattach, filt_procdetach, filt_proc }; static const struct filterops file_filtops = { 1, filt_fileattach, NULL, NULL }; -static struct filterops timer_filtops = +static const struct filterops timer_filtops = { 0, filt_timerattach, filt_timerdetach, filt_timer }; -POOL_INIT(kqueue_pool, sizeof(struct kqueue), 0, 0, 0, "kqueuepl", NULL); -POOL_INIT(knote_pool, sizeof(struct knote), 0, 0, 0, "knotepl", NULL); +static POOL_INIT(kqueue_pool, sizeof(struct kqueue), 0, 0, 0, "kqueuepl", NULL); +static POOL_INIT(knote_pool, sizeof(struct knote), 0, 0, 0, "knotepl", NULL); static int kq_ncallouts = 0; static int kq_calloutmax = (4 * 1024);