summaryrefslogtreecommitdiff
path: root/lib/ExtUtils
diff options
context:
space:
mode:
authorDoug MacEachern <dougm@covalent.net>2001-01-01 07:26:01 -0800
committerJarkko Hietaniemi <jhi@iki.fi>2001-01-04 18:29:07 +0000
commit05ceb97ad3b738039a97213231d2b02440de54ac (patch)
tree98ab514f4c81b14de4d84a57a78cb11be6e4c654 /lib/ExtUtils
parent32b48a68dd8b03c0105897a517c685a34c11db6d (diff)
downloadperl-05ceb97ad3b738039a97213231d2b02440de54ac.tar.gz
Re: [patch] static-ize XS()
Message-ID: <Pine.LNX.4.10.10101011523560.3379-100000@mojo.covalent.net> Provide prototypes for the XS functions. p4raw-id: //depot/perl@8309
Diffstat (limited to 'lib/ExtUtils')
-rwxr-xr-xlib/ExtUtils/xsubpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ExtUtils/xsubpp b/lib/ExtUtils/xsubpp
index bb8f3aab04..2093633930 100755
--- 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