From 934b4d3e585ee77329a9211b03d2b72b7b6ebdf9 Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Mon, 21 May 2012 11:58:26 -0700 Subject: [PATCH] libthreads: fix thrd_create() to use typedef'd start_routine --- libthreads.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libthreads.cc b/libthreads.cc index 205821e..e8d3b6e 100644 --- a/libthreads.cc +++ b/libthreads.cc @@ -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(); -- 2.34.1