projects
/
model-checker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10df540
)
libthreads: fix thrd_create() to use typedef'd start_routine
author
Brian Norris
<banorris@uci.edu>
Mon, 21 May 2012 18:58:26 +0000
(11:58 -0700)
committer
Brian Norris
<banorris@uci.edu>
Mon, 21 May 2012 18:58:26 +0000
(11:58 -0700)
libthreads.cc
patch
|
blob
|
history
diff --git
a/libthreads.cc
b/libthreads.cc
index 205821eac68255d696e89e945f71c06fd63ba7c5..e8d3b6e61e78710169d03da5b4d57180a7c388e0 100644
(file)
--- 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();