This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32b48a6
)
Re: [patch] static-ize XS()
author
Doug MacEachern
<dougm@covalent.net>
Mon, 1 Jan 2001 15:26:01 +0000
(07:26 -0800)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 4 Jan 2001 18:29:07 +0000
(18:29 +0000)
Message-ID: <Pine.LNX.4.10.
10101011523560
.3379-100000@mojo.covalent.net>
Provide prototypes for the XS functions.
p4raw-id: //depot/perl@8309
lib/ExtUtils/xsubpp
patch
|
blob
|
blame
|
history
diff --git
a/lib/ExtUtils/xsubpp
b/lib/ExtUtils/xsubpp
index
bb8f3aa
..
2093633
100755
(executable)
--- a/
lib/ExtUtils/xsubpp
+++ b/
lib/ExtUtils/xsubpp
@@
-1183,6
+1183,7
@@
while (fetch_para()) {
# print function header
print Q<<"EOF";
+#XS(XS_${Full_func_name}); /* prototype to pass -Wmissing-prototypes */
#XS(XS_${Full_func_name})
#[[
# dXSARGS;
@@
-1502,6
+1503,7
@@
print Q<<"EOF";
EOF
print Q<<"EOF";
+#XS(boot_$Module_cname); /* prototype to pass -Wmissing-prototypes */
#XS(boot_$Module_cname)
EOF