summaryrefslogtreecommitdiffstats
path: root/script.c
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:31 -0800
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:31 -0800
commitae2b295c7deaf2d7c18ad1ed9b6050970e56bae7 (patch)
treeeee15e02ae016333546d3841712be591b2bcb06f /script.c
parent302e3218b7d487539ec305bf23881a6ee7d5be99 (diff)
downloadscm-ae2b295c7deaf2d7c18ad1ed9b6050970e56bae7.tar.gz
scm-ae2b295c7deaf2d7c18ad1ed9b6050970e56bae7.zip
Import Upstream version 5e2upstream/5e2
Diffstat (limited to 'script.c')
-rw-r--r--script.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/script.c b/script.c
index 260e8b2..da30802 100644
--- a/script.c
+++ b/script.c
@@ -166,7 +166,7 @@ char *script_find_executable(name)
string if successful, 0 if not */
char *find_impl_file(exec_path, generic_name, initname, sep)
- char *exec_path;
+ const char *exec_path;
const char *generic_name, *initname, *sep;
{
char *sepptr = strrchr(exec_path, sep[0]);
@@ -361,7 +361,7 @@ endarg:
}
int script_meta_arg_P(arg)
- char *arg;
+ const char *arg;
{
if ('\\' != arg[0]) return 0L;
#ifdef MSDOS
@@ -377,7 +377,7 @@ int script_meta_arg_P(arg)
char **script_process_argv(argc, argv)
int argc;
- char **argv;
+ const char **argv;
{
int nargc = argc, argi = 1, nargi = 1;
char *narg, **nargv;
@@ -406,7 +406,7 @@ char **script_process_argv(argc, argv)
}
int script_count_argv(argv)
- char **argv;
+ const char **argv;
{
int argc = 0;
while (argv[argc]) argc++;