shithub: riscv

Download patch

ref: 6f58f7fed4e6e00e6632ff9fe5bc56e75879424f
parent: 462f1d06883af0fdea4f36c3dc3a35a7ed5ffe18
author: ftrvxmtrx <devnull@localhost>
date: Sat May 3 08:09:53 EDT 2014

thread.h: varargck argpos for threadsetname

--- a/sys/include/thread.h
+++ b/sys/include/thread.h
@@ -109,6 +109,8 @@
 void	**tprivaddr(int);
 void	yield(void);
 
+#pragma	varargck	argpos	threadsetname	1
+
 extern	int	mainstacksize;
 
 /* slave I/O processes */