use full prototypes

This commit is contained in:
rsc 2005-05-07 22:42:14 +00:00
parent bb0266fe61
commit 2b6040818e
11 changed files with 23 additions and 24 deletions

View file

@ -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;
}