aboutsummaryrefslogtreecommitdiffstats
path: root/script.c
diff options
context:
space:
mode:
authorThomas Bushnell <tb@debian.org>2006-04-26 23:01:39 -0700
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:32 -0800
commit20402610bf881f67b22eb1600340d8284556ae56 (patch)
tree6a19e5a1b2cc22dccd1003787a70b751f7da4763 /script.c
parent5846f77421a975897a31d6fbf3f520aab385cea3 (diff)
parentae2b295c7deaf2d7c18ad1ed9b6050970e56bae7 (diff)
downloadscm-20402610bf881f67b22eb1600340d8284556ae56.tar.gz
scm-20402610bf881f67b22eb1600340d8284556ae56.zip
Import Debian changes 5e2-1debian/5e2-1
scm (5e2-1) unstable; urgency=low * New upstream release. * Change to continue.h from version 5e1-2 repeated here.
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++;