threads: correct 'thrd_yield()'
[cdsspec-compiler.git] / include / threads.h
index 641b0cf010927919f349d177110abb7871cf8715..d1ff1929aba37840d9cab9f5b5bf087639057550 100644 (file)
@@ -15,7 +15,7 @@ extern "C" {
 
        int thrd_create(thrd_t *t, thrd_start_t start_routine, void *arg);
        int thrd_join(thrd_t);
-       int thrd_yield(void);
+       void thrd_yield(void);
        thrd_t thrd_current(void);
 
        int user_main(int, char**);