summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>2002-06-11 06:35:18 +0000
committerart <art@openbsd.org>2002-06-11 06:35:18 +0000
commite328ed635549552cf29842caff2867193639a135 (patch)
treef323d8087b217cbfe2d77c257067f15f57c2c3c1
parentFail if no symbol table is found, don't crash. (diff)
downloadwireguard-openbsd-e328ed635549552cf29842caff2867193639a135.tar.xz
wireguard-openbsd-e328ed635549552cf29842caff2867193639a135.zip
ANSIfy
-rw-r--r--sys/kern/kern_kthread.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/sys/kern/kern_kthread.c b/sys/kern/kern_kthread.c
index a1de22a917b..e384832c838 100644
--- a/sys/kern/kern_kthread.c
+++ b/sys/kern/kern_kthread.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_kthread.c,v 1.17 2002/03/15 18:19:52 millert Exp $ */
+/* $OpenBSD: kern_kthread.c,v 1.18 2002/06/11 06:35:18 art Exp $ */
/* $NetBSD: kern_kthread.c,v 1.3 1998/12/22 21:21:36 kleink Exp $ */
/*-
@@ -103,8 +103,7 @@ kthread_create(void (*func)(void *), void *arg,
* current context.
*/
void
-kthread_exit(ecode)
- int ecode;
+kthread_exit(int ecode)
{
/*
@@ -139,9 +138,7 @@ SIMPLEQ_HEAD(, kthread_q) kthread_q = SIMPLEQ_HEAD_INITIALIZER(kthread_q);
* the caller to create threads for e.g. file systems and device drivers.
*/
void
-kthread_create_deferred(func, arg)
- void (*func)(void *);
- void *arg;
+kthread_create_deferred(void (*func)(void *), void *arg)
{
struct kthread_q *kq;
@@ -157,7 +154,7 @@ kthread_create_deferred(func, arg)
}
void
-kthread_run_deferred_queue()
+kthread_run_deferred_queue(void)
{
struct kthread_q *kq;