]> pd.if.org Git - pdclib.old/commitdiff
threads.h: correct definition of call_once when no fast path is defined
authorOwen Shepherd <owen.shepherd@e43.eu>
Thu, 27 Dec 2012 21:40:28 +0000 (21:40 +0000)
committerOwen Shepherd <owen.shepherd@e43.eu>
Thu, 27 Dec 2012 21:40:28 +0000 (21:40 +0000)
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