summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2006-11-18 05:42:14 +0000
committerSteve Peters <steve@fisharerojo.org>2006-11-18 05:42:14 +0000
commit7dc3a6bf807591c0f54959a1bd8b2aac442cbc7a (patch)
treedcfcd48f4b8034f166d2299218e1fb45940daa36 /util.c
parentb91fbb9359c40ba617276a21a86b8809f9df07f0 (diff)
downloadperl-7dc3a6bf807591c0f54959a1bd8b2aac442cbc7a.tar.gz
Sync up the function definitions for Perl_my_popen with the prototype.
p4raw-id: //depot/perl@29314
Diffstat (limited to 'util.c')
-rw-r--r--util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.c b/util.c
index d9fde3e5c2..af1e22a431 100644
--- a/util.c
+++ b/util.c
@@ -2415,7 +2415,7 @@ Perl_my_popen(pTHX_ const char *cmd, const char *mode)
#if defined(atarist) || defined(EPOC)
FILE *popen();
PerlIO *
-Perl_my_popen(pTHX_ char *cmd, char *mode)
+Perl_my_popen((pTHX_ const char *cmd, const char *mode)
{
PERL_FLUSHALL_FOR_CHILD;
/* Call system's popen() to get a FILE *, then import it.
@@ -2428,7 +2428,7 @@ Perl_my_popen(pTHX_ char *cmd, char *mode)
#if defined(DJGPP)
FILE *djgpp_popen();
PerlIO *
-Perl_my_popen(pTHX_ char *cmd, char *mode)
+Perl_my_popen((pTHX_ const char *cmd, const char *mode)
{
PERL_FLUSHALL_FOR_CHILD;
/* Call system's popen() to get a FILE *, then import it.