]> pd.if.org Git - pdclib.old/blobdiff - includes/threads.h
Manual page on unlocked stdio routines
[pdclib.old] / includes / threads.h
index 0af707e6ee933990b038a4fde441ffca200f07ba..65021538c383e395fb38d5e817a80bfc95540855 100644 (file)
@@ -33,7 +33,7 @@ static inline void call_once(once_flag *flag, void (*func)(void))
        }\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
@@ -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