diff options
author | jilles <jilles@FreeBSD.org> | 2009-12-24 18:41:14 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2009-12-24 18:41:14 +0000 |
commit | 8e458de8523a07bb3be5f06ed227236cb12be7f4 (patch) | |
tree | 3810323287749c3a09fadeeed64429a5bf2fbb4d /bin/sh/main.h | |
parent | ff49e8168bd001a89cc6ca577b7b33399eb2c409 (diff) | |
download | FreeBSD-src-8e458de8523a07bb3be5f06ed227236cb12be7f4.zip FreeBSD-src-8e458de8523a07bb3be5f06ed227236cb12be7f4.tar.gz |
sh: Constify various strings.
Most of this is adding const keywords, but setvar() in var.c had to be
changed somewhat more.
Diffstat (limited to 'bin/sh/main.h')
-rw-r--r-- | bin/sh/main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/main.h b/bin/sh/main.h index 7f8c394..b6dadc3 100644 --- a/bin/sh/main.h +++ b/bin/sh/main.h @@ -36,7 +36,7 @@ extern int rootpid; /* pid of main shell */ extern int rootshell; /* true if we aren't a child of the main shell */ -void readcmdfile(char *); +void readcmdfile(const char *); void cmdloop(int); int dotcmd(int, char **); int exitcmd(int, char **); |