In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/97b6ed7a84b765cf843cdc2f5feee8d27d4c89b6?hp=35e3dd033f81095e773ca2a8bcf741114af07723>

- Log -----------------------------------------------------------------
commit 97b6ed7a84b765cf843cdc2f5feee8d27d4c89b6
Author: Nicholas Clark <n...@ccl4.org>
Date:   Tue Jun 4 14:19:31 2013 +0200

    Remove the unused env parameter from a2p's main, and the associated pragma.
    
    a2p's main has had the traditional Unix third parameter (env) forever.
    Commit 24801a4b9a14a562 in May 2005 increased the strictness of the Tru64
    compiler, and added pramgas where necessary to counter its warnings.
    However, a2p's main doesn't actually *use* the env parameter, so a better
    solution is to remove it. Which means that the pragma can be removed too.
-----------------------------------------------------------------------

Summary of changes:
 x2p/a2py.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/x2p/a2py.c b/x2p/a2py.c
index aec2a0e..8c08202 100644
--- a/x2p/a2py.c
+++ b/x2p/a2py.c
@@ -56,12 +56,8 @@ usage()
 }
 #endif
 
-#ifdef __osf__
-#pragma message disable (mainparm) /* We have the envp in main(). */
-#endif
-
 int
-main(int argc, const char **argv, const char **env)
+main(int argc, const char **argv)
 {
     STR *str;
     int i;

--
Perl5 Master Repository

Reply via email to