From 2b6040818e35d57357226212c356ce370c5b5dd0 Mon Sep 17 00:00:00 2001 From: rsc Date: Sat, 7 May 2005 22:42:14 +0000 Subject: use full prototypes --- src/libthread/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libthread') diff --git a/src/libthread/thread.c b/src/libthread/thread.c index ddd7564c..387b6400 100644 --- a/src/libthread/thread.c +++ b/src/libthread/thread.c @@ -141,7 +141,7 @@ threadalloc(void (*fn)(void*), void *arg, uint stack) y = z; z >>= 16; /* hide undefined 32-bit shift from 32-bit compilers */ x = z>>16; - makecontext(&t->context.uc, (void(*)())threadstart, 2, y, x); + makecontext(&t->context.uc, (void(*)(void))threadstart, 2, y, x); return t; } -- cgit v1.2.3