summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--thread.h4
-rwxr-xr-xx2p/Makefile.SH3
2 files changed, 2 insertions, 5 deletions
diff --git a/thread.h b/thread.h
index 655851de74..06d5d89790 100644
--- a/thread.h
+++ b/thread.h
@@ -126,8 +126,6 @@ struct thread {
/* XXX What about magic variables such as $/, $? and so on? */
HV * Tdefstash;
HV * Tcurstash;
- AV * Tpad;
- AV * Tpadname;
SV ** Ttmps_stack;
I32 Ttmps_ix;
@@ -263,8 +261,6 @@ typedef struct condpair {
#define Xpv (thr->TXpv)
#define defstash (thr->Tdefstash)
#define curstash (thr->Tcurstash)
-#define pad (thr->Tpad)
-#define padname (thr->Tpadname)
#define tmps_stack (thr->Ttmps_stack)
#define tmps_ix (thr->Ttmps_ix)
diff --git a/x2p/Makefile.SH b/x2p/Makefile.SH
index 0ca3ff35db..0c9dfca841 100755
--- a/x2p/Makefile.SH
+++ b/x2p/Makefile.SH
@@ -153,7 +153,8 @@ malloc.c: ../malloc.c
sed <../malloc.c >malloc.c \
-e 's/"EXTERN.h"/"..\/EXTERN.h"/' \
-e 's/"perl.h"/"..\/perl.h"/' \
- -e 's/my_exit/exit/'
+ -e 's/my_exit/exit/' \
+ -e 's/MUTEX_[A-Z_]*(&malloc_mutex);//'
# AUTOMATICALLY GENERATED MAKE DEPENDENCIES--PUT NOTHING BELOW THIS LINE
$(obj):