summaryrefslogtreecommitdiff
path: root/ext/arybase
diff options
context:
space:
mode:
authorDaniel Dragan <bulk88@hotmail.com>2015-10-25 19:57:11 -0400
committerTony Cook <tony@develop-help.com>2015-10-26 14:03:08 +1100
commit0b057af72368f97c1b6f0b4c58943ced6d6c98d2 (patch)
tree0f72c26500f2a06a7c51ad7490a01bef4391ebfe /ext/arybase
parent1d532a9b3f7c7516fc5a74a94731d12ed7d0928b (diff)
downloadperl-0b057af72368f97c1b6f0b4c58943ced6d6c98d2.tar.gz
XS staticing in ext and dist
None of these symbols are exported on Win32 (listed in Makefile.PL with EUMM's FUNCLIST), so they shouldn't be exported on Linux. Making them static saves space in the SOs by removing symbol name strings, and removing runtime plt/got indirection.
Diffstat (limited to 'ext/arybase')
-rw-r--r--ext/arybase/arybase.pm2
-rw-r--r--ext/arybase/arybase.xs2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/arybase/arybase.pm b/ext/arybase/arybase.pm
index d905e6f2e8..a519a4b392 100644
--- a/ext/arybase/arybase.pm
+++ b/ext/arybase/arybase.pm
@@ -1,6 +1,6 @@
package arybase;
-our $VERSION = "0.10";
+our $VERSION = "0.11";
require XSLoader;
XSLoader::load(); # This returns true, which makes require happy.
diff --git a/ext/arybase/arybase.xs b/ext/arybase/arybase.xs
index af8ef7b1ad..4ff6cbd68a 100644
--- a/ext/arybase/arybase.xs
+++ b/ext/arybase/arybase.xs
@@ -195,7 +195,7 @@ STATIC OP *ab_ck_aassign(pTHX_ OP *o) {
return o;
}
-void
+STATIC void
tie(pTHX_ SV * const sv, SV * const obj, HV *const stash)
{
SV *rv = newSV_type(SVt_RV);