X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Fthreads.h;h=2e1f6faeadc908c71146722c24c377f1a3dee845;hb=2161cbbbb7f496c62f2e50e958beb3de988f4fcb;hp=0af707e6ee933990b038a4fde441ffca200f07ba;hpb=10f0a6e11e9a7facc8643cfa18171fe8b3b5b59d;p=pdclib diff --git a/includes/threads.h b/includes/threads.h index 0af707e..2e1f6fa 100644 --- a/includes/threads.h +++ b/includes/threads.h @@ -61,7 +61,7 @@ int cnd_wait(cnd_t *cond, mtx_t *mtx) _PDCLIB_nothrow; #if defined(_PDCLIB_THRD_T) #define _PDCLIB_THRD_HAVE_MISC typedef _PDCLIB_THRD_T thrd_t; -typedef int (*)(void*) thrd_start_t; +typedef int (*thrd_start_t)(void*); int thrd_create(thrd_t *thr, thrd_start_t func, void *arg) _PDCLIB_nothrow; thrd_t thrd_current(void) _PDCLIB_nothrow;