summaryrefslogtreecommitdiff
path: root/thread.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-07-12 04:58:08 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-07-12 04:58:08 +0000
commit78ffc579fccea149ce13c268b422d661c9811f3a (patch)
tree0f1727e59320de878710561a51aa2059aa6fc4eb /thread.h
parentf38d7863e9c890f6e7b5e922b65b103f87ccdb42 (diff)
downloadperl-78ffc579fccea149ce13c268b422d661c9811f3a.tar.gz
Retract #11289.
p4raw-id: //depot/perl@11293
Diffstat (limited to 'thread.h')
-rw-r--r--thread.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/thread.h b/thread.h
index f36e7a2ad7..a1e8fdc65b 100644
--- a/thread.h
+++ b/thread.h
@@ -303,11 +303,8 @@
#endif
#ifndef PTHREAD_ATFORK
-typedef void(*Perl_pthread_atfork_t)(void);
# define PTHREAD_ATFORK(prepare,parent,child) \
- pthread_atfork((Perl_pthread_atfork_t)prepare,\
- (Perl_pthread_atfork_t)parent,\
- (Perl_pthread_atfork_t)child)
+ pthread_atfork(prepare,parent,child)
#endif
#ifndef THREAD_RET_TYPE