Loading...
--- Libc/Libc-825.26/stdlib/FreeBSD/system.c
+++ Libc/Libc-997.90.3/stdlib/FreeBSD/system.c
@@ -54,9 +54,6 @@
static pthread_mutex_t __systemfn_mutex = PTHREAD_MUTEX_INITIALIZER;
extern int __unix_conforming;
-#ifdef VARIANT_CANCELABLE
-extern void _pthread_testcancel(pthread_t thread, int isconforming);
-#endif /* VARIANT_CANCELABLE */
#endif /* __DARWIN_UNIX03 */
int
@@ -75,7 +72,7 @@
if (__unix_conforming == 0)
__unix_conforming = 1;
#ifdef VARIANT_CANCELABLE
- _pthread_testcancel(pthread_self(), 1);
+ pthread_testcancel();
#endif /* VARIANT_CANCELABLE */
#endif /* __DARWIN_UNIX03 */