This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0453256
)
numeric.c: Change formal parameter to be const
author
Karl Williamson
<khw@cpan.org>
Wed, 3 Apr 2019 20:31:05 +0000
(14:31 -0600)
committer
Karl Williamson
<khw@cpan.org>
Thu, 4 Apr 2019 02:42:46 +0000
(20:42 -0600)
as embed.fnc says it should be
numeric.c
patch
|
blob
|
blame
|
history
diff --git
a/numeric.c
b/numeric.c
index
7106530
..
9ccb808
100644
(file)
--- a/
numeric.c
+++ b/
numeric.c
@@
-1402,7
+1402,7
@@
Perl_my_atof2(pTHX_ const char* orig, NV* value)
}
char*
-Perl_my_atof3(pTHX_ const char* orig, NV* value, STRLEN len)
+Perl_my_atof3(pTHX_ const char* orig, NV* value,
const
STRLEN len)
{
const char* s = orig;
NV result[3] = {0.0, 0.0, 0.0};