#ifndef _PDCLIB_THREADS_H\r
#define _PDCLIB_THREADS_H\r
+#include <_PDCLIB_int.h>\r
#include <_PDCLIB_threadconfig.h>\r
#include <time.h>\r
_PDCLIB_BEGIN_EXTERN_C\r
}\r
}\r
#else\r
-void call_once(once_flag *flag, void (*func)(void))\r
+void call_once(once_flag *flag, void (*func)(void));\r
#endif\r
\r
#if defined(_PDCLIB_MTX_T)\r
#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