summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl.c b/perl.c
index 25cdcd6e4b..91caf60884 100644
--- a/perl.c
+++ b/perl.c
@@ -61,7 +61,7 @@ static I32 read_e_script(pTHXo_ int idx, SV *buf_sv, int maxlen);
/* this is called in parent before the fork() */
void
-Perl_atfork_lock(void)
+Perl_atfork_lock(pTHX)
{
/* locks must be held in locking order (if any) */
#ifdef MYMALLOC
@@ -72,7 +72,7 @@ Perl_atfork_lock(void)
/* this is called in both parent and child after the fork() */
void
-Perl_atfork_unlock(void)
+Perl_atfork_unlock(pTHX)
{
/* locks must be released in same order as in S_atfork_lock() */
#ifdef MYMALLOC