From 26c19c60819599a79ad24cfc9f0c25a4bc9c531e Mon Sep 17 00:00:00 2001 From: kleink Date: Fri, 8 Mar 2002 23:03:23 +0000 Subject: [PATCH] Fix the declaration of the function to be registered with kthread_create{,1}; from Peter Seebach in PR kern/15838. --- share/man/man9/kthread.9 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/man/man9/kthread.9 b/share/man/man9/kthread.9 index 1f6bebde135c..351d817654b5 100644 --- a/share/man/man9/kthread.9 +++ b/share/man/man9/kthread.9 @@ -1,4 +1,4 @@ -.\" $NetBSD: kthread.9,v 1.6 2002/02/13 08:18:43 ross Exp $ +.\" $NetBSD: kthread.9,v 1.7 2002/03/08 23:03:23 kleink Exp $ .\" .\" Copyright (c) 2000 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -45,11 +45,11 @@ .Sh SYNOPSIS .Fd #include \*[Lt]sys/kthread.h\*[Gt] .Ft void -.Fn kthread_create "void (*func)(void)" "void *arg" +.Fn kthread_create "void (*func)(void *)" "void *arg" .Ft void .Fn kthread_exit "int ecode" .Ft int -.Fn kthread_create1 "void (*func)(void)" "void *arg" "struct proc **newpp" \ +.Fn kthread_create1 "void (*func)(void *)" "void *arg" "struct proc **newpp" \ "const char *fmt" "..." .Sh DESCRIPTION Kernel threads are light-weight processes which execute entirely