summaryrefslogtreecommitdiff
path: root/djgpp
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2006-01-06 18:59:54 +0000
committerSteve Peters <steve@fisharerojo.org>2006-01-06 18:59:54 +0000
commite670e57a01f4348af67815ccc0b2b168b078d7bd (patch)
tree8acc8da701024e7ac619a3c31816507ab9ed9509 /djgpp
parent66ccb71661623abcbd6f029b84aa5a6eac24403f (diff)
downloadperl-e670e57a01f4348af67815ccc0b2b168b078d7bd.tar.gz
const'ing parameters killed the builds for djgpp. Changes get the
Perl core, but not the modules, to compile cleanly. p4raw-id: //depot/perl@26680
Diffstat (limited to 'djgpp')
-rw-r--r--djgpp/djgpp.c2
-rw-r--r--djgpp/djgpp.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/djgpp/djgpp.c b/djgpp/djgpp.c
index e2260d5ed6..caa4640363 100644
--- a/djgpp/djgpp.c
+++ b/djgpp/djgpp.c
@@ -222,7 +222,7 @@ do_spawn (pTHX_ char *cmd)
}
bool
-Perl_do_exec (pTHX_ char *cmd)
+Perl_do_exec (pTHX_ const char *cmd)
{
do_spawn2 (aTHX_ cmd,EXECF_EXEC);
return FALSE;
diff --git a/djgpp/djgpp.h b/djgpp/djgpp.h
index a020ae91a1..bb792e204e 100644
--- a/djgpp/djgpp.h
+++ b/djgpp/djgpp.h
@@ -34,7 +34,7 @@ int
do_spawn (pTHX_ char *cmd);
bool
-Perl_do_exec (pTHX_ char *cmd);
+Perl_do_exec (pTHX_ const char *cmd);
void
Perl_init_os_extras(pTHX);