From: Brian Norris Date: Mon, 21 May 2012 18:58:26 +0000 (-0700) Subject: libthreads: fix thrd_create() to use typedef'd start_routine X-Git-Tag: pldi2013~405 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=934b4d3e585ee77329a9211b03d2b72b7b6ebdf9;p=model-checker.git libthreads: fix thrd_create() to use typedef'd start_routine --- 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();