conflicting types for 'Perl_my_popen'
Alexey Tourbin [Wed, 10 Aug 2005 15:19:15 +0000 (19:19 +0400)]
Message-ID: <20050810111915.GK19097@solemn.turbinal.org>

p4raw-id: //depot/perl@25281

util.c

diff --git a/util.c b/util.c
index 6a8c4a6..5824d87 100644 (file)
--- a/util.c
+++ b/util.c
@@ -2123,7 +2123,7 @@ Perl_my_popen_list(pTHX_ char *mode, int n, SV **args)
     /* VMS' my_popen() is in VMS.c, same with OS/2. */
 #if (!defined(DOSISH) || defined(HAS_FORK) || defined(AMIGAOS)) && !defined(VMS) && !defined(__OPEN_VM) && !defined(EPOC) && !defined(MACOS_TRADITIONAL)
 PerlIO *
-Perl_my_popen(pTHX_ char *cmd, char *mode)
+Perl_my_popen(pTHX_ const char *cmd, const char *mode)
 {
     int p[2];
     register I32 This, that;