From 55f96acf69e6a3b499ff8d1c8d400f5aba0f7ce0 Mon Sep 17 00:00:00 2001 From: Owen Shepherd Date: Thu, 23 Aug 2012 16:32:51 +0100 Subject: [PATCH] : correct declaration of thrd_start_t. oops. --- includes/threads.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.40.0