X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=vms%2Fwritemain.pl;h=1843b3020654244d54da579bd92fcb6ed63d8d59;hb=a7ec2b44b6a6713a67d2b7d1975eb72a28c1caf5;hp=a502d6131e1bb1fc9209203aa726fa029d7e0d0d;hpb=96e4d5b14cf2dfb0235faa8bc3f701c15b15bb05;p=p5sagit%2Fp5-mst-13.2.git diff --git a/vms/writemain.pl b/vms/writemain.pl index a502d61..1843b30 100644 --- a/vms/writemain.pl +++ b/vms/writemain.pl @@ -5,7 +5,7 @@ # linker options file which causes the bootstrap routines for # these extension to be universal symbols in PerlShr.Exe. # -# Last modified 29-Nov-1994 by Charles Bailey bailey@genetics.upenn.edu +# Last modified 29-Nov-1994 by Charles Bailey bailey@newman.upenn.edu # if (-f 'miniperlmain.c') { $dir = ''; } @@ -34,7 +34,7 @@ if (!$ok) { print OUT <<'EOH'; static void -xs_init() +xs_init(pTHX) { EOH @@ -50,7 +50,7 @@ if (@exts) { foreach $ext (@exts) { my($subname) = $ext; $subname =~ s/::/__/g; - print OUT "extern void boot_${subname} _((CV* cv));\n" + print OUT "extern void boot_${subname} (pTHX_ CV* cv);\n" } # May not actually be a declaration, so put after other declarations print OUT " dXSUB_SYS;\n";