Module Name:    src
Committed By:   yamt
Date:           Mon Oct 12 23:36:56 UTC 2009

Modified Files:
        src/sys/kern: sys_aio.c

Log Message:
make aio_worker static.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/kern/sys_aio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/sys_aio.c
diff -u src/sys/kern/sys_aio.c:1.25 src/sys/kern/sys_aio.c:1.26
--- src/sys/kern/sys_aio.c:1.25	Mon Oct 12 23:31:59 2009
+++ src/sys/kern/sys_aio.c	Mon Oct 12 23:36:56 2009
@@ -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;

Reply via email to