summaryrefslogtreecommitdiff
path: root/writemain.SH
diff options
context:
space:
mode:
Diffstat (limited to 'writemain.SH')
-rw-r--r--writemain.SH4
1 files changed, 2 insertions, 2 deletions
diff --git a/writemain.SH b/writemain.SH
index 3a81fa679a..18544c1f81 100644
--- a/writemain.SH
+++ b/writemain.SH
@@ -65,14 +65,14 @@ if test X"$args" != "X" ; then
mname=`echo $ext | sed 's!/!::!g'`
cname=`echo $mname | sed 's!:!_!g'`
-echo "EXTERN_C void boot_${cname} (CV* cv);"
+echo "EXTERN_C void boot_${cname} (pTHX_ CV* cv);"
done
fi
cat << 'EOP'
static void
-xs_init()
+xs_init(pTHX)
{
EOP