From: Oliver Schmidt
Date: Mon, 3 Mar 2014 21:26:08 +0000 (+0100)
Subject: Adjusted spawn files to recent change.
X-Git-Tag: V2.15~137
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=574bda3e4e075b18a9a956656b4dd91a19e23804;p=cc65
Adjusted spawn files to recent change.
---
diff --git a/src/cl65/spawn-amiga.inc b/src/cl65/spawn-amiga.inc
index 4a0278cfa..b244a95ac 100644
--- a/src/cl65/spawn-amiga.inc
+++ b/src/cl65/spawn-amiga.inc
@@ -54,7 +54,7 @@
int spawnvp (int Mode attribute ((unused)),
const char* File attribute ((unused)),
- char* const argv [])
+ const char* const argv [])
/* Execute the given program searching and wait til it terminates. The Mode
* argument is ignored (compatibility only). The result of the function is
* the return code of the program. The function will terminate the program
diff --git a/src/cl65/spawn-unix.inc b/src/cl65/spawn-unix.inc
index a0334b8db..093e35935 100644
--- a/src/cl65/spawn-unix.inc
+++ b/src/cl65/spawn-unix.inc
@@ -62,7 +62,7 @@
-int spawnvp (int Mode attribute ((unused)), const char* File, char* const argv [])
+int spawnvp (int Mode attribute ((unused)), const char* File, const char* const argv [])
/* Execute the given program searching and wait til it terminates. The Mode
* argument is ignored (compatibility only). The result of the function is
* the return code of the program. The function will terminate the program
diff --git a/src/cl65/spawn.h b/src/cl65/spawn.h
index 6e75f555d..a9f5d7c3f 100644
--- a/src/cl65/spawn.h
+++ b/src/cl65/spawn.h
@@ -59,7 +59,7 @@
-int spawnvp (int Mode, const char* File, char* const argv []);
+int spawnvp (int Mode, const char* File, const char* const argv []);
/* Execute the given program searching and wait til it terminates. The Mode
* argument is ignored (compatibility only). The result of the function is
* the return code of the program. The function will terminate the program