diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:31 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:31 -0800 |
commit | ae2b295c7deaf2d7c18ad1ed9b6050970e56bae7 (patch) | |
tree | eee15e02ae016333546d3841712be591b2bcb06f /script.c | |
parent | 302e3218b7d487539ec305bf23881a6ee7d5be99 (diff) | |
download | scm-ae2b295c7deaf2d7c18ad1ed9b6050970e56bae7.tar.gz scm-ae2b295c7deaf2d7c18ad1ed9b6050970e56bae7.zip |
Import Upstream version 5e2upstream/5e2
Diffstat (limited to 'script.c')
-rw-r--r-- | script.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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++; |