libthreads: fix thrd_create() to use typedef'd start_routine
[c11tester.git] / libthreads.cc
index 205821eac68255d696e89e945f71c06fd63ba7c5..e8d3b6e61e78710169d03da5b4d57180a7c388e0 100644 (file)
@@ -8,7 +8,7 @@
 /*
  * User program API functions
  */
-int thrd_create(thrd_t *t, void (*start_routine)(void *), void *arg)
+int thrd_create(thrd_t *t, thrd_start_t start_routine, void *arg)
 {
        int ret;
        DBG();