projects
/
cdsspec-compiler.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libthreads: fix thrd_create() to use typedef'd start_routine
[cdsspec-compiler.git]
/
libthreads.cc
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();