]> pd.if.org Git - pdclib.old/commitdiff
<threads.h>: correct declaration of thrd_start_t. oops.
authorOwen Shepherd <owen.shepherd@e43.eu>
Thu, 23 Aug 2012 15:32:51 +0000 (16:32 +0100)
committerOwen Shepherd <owen.shepherd@e43.eu>
Thu, 23 Aug 2012 15:32:51 +0000 (16:32 +0100)
includes/threads.h

index 0af707e6ee933990b038a4fde441ffca200f07ba..2e1f6faeadc908c71146722c24c377f1a3dee845 100644 (file)
@@ -61,7 +61,7 @@ int cnd_wait(cnd_t *cond, mtx_t *mtx) _PDCLIB_nothrow;
 #if defined(_PDCLIB_THRD_T)\r
 #define _PDCLIB_THRD_HAVE_MISC\r
 typedef _PDCLIB_THRD_T         thrd_t;\r
-typedef int (*)(void*)  thrd_start_t;\r
+typedef int (*thrd_start_t)(void*);\r
 \r
 int thrd_create(thrd_t *thr, thrd_start_t func, void *arg) _PDCLIB_nothrow;\r
 thrd_t thrd_current(void) _PDCLIB_nothrow;\r