diff options
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++; |