summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-01-17 06:30:57 -0800
committerFather Chrysostomos <sprout@cpan.org>2014-01-17 06:30:57 -0800
commit1620d8059f41c65bdf4dbde03f1b3c0d4cf41233 (patch)
tree33a958c60af0d024ea716d39e27267a7a4acc6ec /sv.c
parent60175f94ae4d64a920f29b11a9ba63fa99210cd7 (diff)
downloadperl-1620d8059f41c65bdf4dbde03f1b3c0d4cf41233.tar.gz
sv_buf_to_rw can be static
sv_buf_to_ro needs to be non-static because op.c uses it, but sv_buf_to_rw is only called from sv.c.
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sv.c b/sv.c
index 94f19066ef..d6d61a6ae4 100644
--- a/sv.c
+++ b/sv.c
@@ -4055,8 +4055,8 @@ Perl_sv_buf_to_ro(pTHX_ SV *sv)
header, len, errno);
}
-void
-Perl_sv_buf_to_rw(pTHX_ SV *sv)
+static void
+S_sv_buf_to_rw(pTHX_ SV *sv)
{
struct perl_memory_debug_header * const header =
(struct perl_memory_debug_header *)(SvPVX(sv)-sTHX);