summaryrefslogtreecommitdiff
path: root/thread.h
diff options
context:
space:
mode:
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