This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #114338] Misleading prototype in perlapi manpage
authorFather Chrysostomos <sprout@cpan.org>
Tue, 31 Jul 2012 05:57:21 +0000 (22:57 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 31 Jul 2012 06:24:24 +0000 (23:24 -0700)
perl.h

diff --git a/perl.h b/perl.h
index 614f280..ad8f6a9 100644 (file)
--- a/perl.h
+++ b/perl.h
@@ -2721,12 +2721,12 @@ typedef struct clone_params CLONE_PARAMS;
 #endif
 
 /*
-=for apidoc Am|void|PERL_SYS_INIT|int argc|char** argv
+=for apidoc Am|void|PERL_SYS_INIT|int *argc|char*** argv
 Provides system-specific tune up of the C runtime environment necessary to
 run Perl interpreters. This should be called only once, before creating
 any Perl interpreters.
 
-=for apidoc Am|void|PERL_SYS_INIT3|int argc|char** argv|char** env
+=for apidoc Am|void|PERL_SYS_INIT3|int *argc|char*** argv|char*** env
 Provides system-specific tune up of the C runtime environment necessary to
 run Perl interpreters. This should be called only once, before creating
 any Perl interpreters.