summaryrefslogtreecommitdiff
path: root/embed.fnc
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 /embed.fnc
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 'embed.fnc')
-rw-r--r--embed.fnc4
1 files changed, 3 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index a4d9dabee9..bbaaaa6749 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1317,7 +1317,9 @@ Apd |int |sv_backoff |NN SV *const sv
Apd |SV* |sv_bless |NN SV *const sv|NN HV *const stash
#if defined(PERL_DEBUG_READONLY_COW)
p |void |sv_buf_to_ro |NN SV *sv
-p |void |sv_buf_to_rw |NN SV *sv
+# if defined(PERL_IN_SV_C)
+s |void |sv_buf_to_rw |NN SV *sv
+# endif
#endif
Afpd |void |sv_catpvf |NN SV *const sv|NN const char *const pat|...
Apd |void |sv_vcatpvf |NN SV *const sv|NN const char *const pat \