summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);