libthreads: export thread_yield()
[c11tester.git] / libthreads.c
index 8bdd76ea153f58d585c767581635dbca75a711fc..660e19d5d7b06811b6ec52cce76f63bf4d0b29ea 100644 (file)
@@ -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;