]> pd.if.org Git - pdclib.old/blobdiff - includes/threads.h
threads.h: correct definition of call_once when no fast path is defined
[pdclib.old] / includes / threads.h
index 2e1f6faeadc908c71146722c24c377f1a3dee845..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