This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
numeric.c: Use full name of function in definition
authorKarl Williamson <khw@cpan.org>
Thu, 23 May 2019 20:23:48 +0000 (14:23 -0600)
committerKarl Williamson <khw@cpan.org>
Fri, 24 May 2019 23:09:30 +0000 (17:09 -0600)
The prefix 'Perl_' was omitted, but this did not matter because there
was a macro that expanded to include the prefix.  But it's customary to
have the expansion at the point of definition.

numeric.c

index 5d2fc5c..659b69e 100644 (file)
--- a/numeric.c
+++ b/numeric.c
@@ -97,7 +97,7 @@ The synonym Strod() may be used instead.
 */
 
 NV
-my_strtod(const char * const s, char **e)
+Perl_my_strtod(const char * const s, char **e)
 {
     dTHX;