shithub: riscv

Download patch

ref: ff2e8f308d3862ce1927bdc20314fe7610564566
parent: 0d87019a9b5479ed2d5ce13b9bfe774c395b9669
author: cinap_lenrek <[email protected]>
date: Mon May 25 09:03:45 EDT 2015

thread(2): fix prototype for threadint() and threadkillgrp() (thanks qwx!)

--- a/sys/man/2/thread
+++ b/sys/man/2/thread
@@ -95,10 +95,10 @@
 int	threadsetgrp(int group)
 int	threadpid(int id)
 .XX
-int	threadint(int id)
+void	threadint(int id)
 void	threadintgrp(int group)
 void	threadkill(int id)
-int	threadkillgrp(int group)
+void	threadkillgrp(int group)
 .XX
 void	threadsetname(char *name, ...)
 char*	threadgetname(void)