From 574bda3e4e075b18a9a956656b4dd91a19e23804 Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Mon, 3 Mar 2014 22:26:08 +0100
Subject: [PATCH] Adjusted spawn files to recent change.
---
src/cl65/spawn-amiga.inc | 2 +-
src/cl65/spawn-unix.inc | 2 +-
src/cl65/spawn.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
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
--
2.39.5