Source-Changes-HG archive

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

[src/trunk]: src/sys/kern make aio_worker static.



details:   https://anonhg.NetBSD.org/src/rev/0ad8637aaebb
branches:  trunk
changeset: 748081:0ad8637aaebb
user:      yamt <yamt%NetBSD.org@localhost>
date:      Mon Oct 12 23:36:56 2009 +0000

description:
make aio_worker static.

diffstat:

 sys/kern/sys_aio.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 11b396ca430b -r 0ad8637aaebb sys/kern/sys_aio.c
--- a/sys/kern/sys_aio.c        Mon Oct 12 23:36:02 2009 +0000
+++ b/sys/kern/sys_aio.c        Mon Oct 12 23:36:56 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sys_aio.c,v 1.25 2009/10/12 23:31:59 yamt Exp $        */
+/*     $NetBSD: sys_aio.c,v 1.26 2009/10/12 23:36:56 yamt Exp $        */
 
 /*
  * Copyright (c) 2007, Mindaugas Rasiukevicius <rmind at NetBSD org>
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_aio.c,v 1.25 2009/10/12 23:31:59 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_aio.c,v 1.26 2009/10/12 23:36:56 yamt Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ddb.h"
@@ -78,7 +78,7 @@
 static void *aio_ehook;
 
 /* Prototypes */
-void aio_worker(void *);
+static void aio_worker(void *);
 static void aio_process(struct aio_job *);
 static void aio_sendsig(struct proc *, struct sigevent *);
 static int aio_enqueue_job(int, void *, struct lio_req *);
@@ -261,7 +261,7 @@
 /*
  * AIO worker thread and processor.
  */
-void
+static void
 aio_worker(void *arg)
 {
        struct proc *p = curlwp->l_proc;



Home | Main Index | Thread Index | Old Index