diff options
| author | rsc <devnull@localhost> | 2005-05-07 22:42:14 +0000 |
|---|---|---|
| committer | rsc <devnull@localhost> | 2005-05-07 22:42:14 +0000 |
| commit | 2b6040818e35d57357226212c356ce370c5b5dd0 (patch) | |
| tree | a08c0b51770e99dbc80a768f88d6682838c2d77f /src/libthread/thread.c | |
| parent | bb0266fe6137ecd81eea1c74e34723c5a1bc4caf (diff) | |
use full prototypes
Diffstat (limited to 'src/libthread/thread.c')
| -rw-r--r-- | src/libthread/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |