summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2017-04-20 08:33:42 -0600
committerKarl Williamson <khw@cpan.org>2017-06-01 07:05:15 -0600
commita5ba252751fc7fd7b9d43d0ad4491eb68a14a4a6 (patch)
tree08a974b477a241d3967f64b33cf642cf207e33dd /proto.h
parenta25f3052bac2e69bc82d661cc97662078e096e3f (diff)
downloadperl-a5ba252751fc7fd7b9d43d0ad4491eb68a14a4a6.tar.gz
Change formal parameter for newSVpvn
This fixes a discrepancy in perlapi. See http://nntp.perl.org/group/perl.perl5.porters/243384
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto.h b/proto.h
index 8307c6d6a9..367352cbe7 100644
--- a/proto.h
+++ b/proto.h
@@ -2313,7 +2313,7 @@ PERL_CALLCONV SV* Perl_newSVpvf(pTHX_ const char *const pat, ...)
#define PERL_ARGS_ASSERT_NEWSVPVF \
assert(pat)
-PERL_CALLCONV SV* Perl_newSVpvn(pTHX_ const char *const s, const STRLEN len)
+PERL_CALLCONV SV* Perl_newSVpvn(pTHX_ const char *const buffer, const STRLEN len)
__attribute__warn_unused_result__;
PERL_CALLCONV SV* Perl_newSVpvn_flags(pTHX_ const char *const s, const STRLEN len, const U32 flags)