stricter typing of function pointers for makecontext()
[c11tester.git] / libthreads.c
index 1b7f3db6ac79d37afc20b954f3423b4bd95dfae5..ca310675f3abe5dd747b3f8426cd7e9307b47bc1 100644 (file)
@@ -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;