projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libthreads: export thread_yield()
[c11tester.git]
/
libthreads.c
diff --git
a/libthreads.c
b/libthreads.c
index 8bdd76ea153f58d585c767581635dbca75a711fc..660e19d5d7b06811b6ec52cce76f63bf4d0b29ea 100644
(file)
--- a/
libthreads.c
+++ b/
libthreads.c
@@
-54,7
+54,7
@@
static int thread_swap(struct thread *old, struct thread *new)
return swapcontext(&old->context, &new->context);
}
-
static int thread_yield(
)
+
int thread_yield(void
)
{
struct thread *old, *next;