projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
stricter typing of function pointers for makecontext()
[c11tester.git]
/
libthreads.c
diff --git
a/libthreads.c
b/libthreads.c
index 1b7f3db6ac79d37afc20b954f3423b4bd95dfae5..ca310675f3abe5dd747b3f8426cd7e9307b47bc1 100644
(file)
--- a/
libthreads.c
+++ b/
libthreads.c
@@
-100,7
+100,7
@@
static void thread_wait_finish(void)
/*
* User program API functions
*/
-int thread_create(struct thread *t, void (*start_routine), void *arg)
+int thread_create(struct thread *t, void (*start_routine)
()
, void *arg)
{
int ret = 0;