aboutsummaryrefslogtreecommitdiff
path: root/bin/sh/options.h
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2009-12-24 18:41:14 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2009-12-24 18:41:14 +0000
commit2cac6e364a22fbb88eff4a1d36a09fef0064b421 (patch)
tree3810323287749c3a09fadeeed64429a5bf2fbb4d /bin/sh/options.h
parentb4c170e1f58feb50951b5453cfba4007a3ee18ff (diff)
downloadsrc-2cac6e364a22fbb88eff4a1d36a09fef0064b421.tar.gz
src-2cac6e364a22fbb88eff4a1d36a09fef0064b421.zip
sh: Constify various strings.
Most of this is adding const keywords, but setvar() in var.c had to be changed somewhat more.
Notes
Notes: svn path=/head/; revision=200956
Diffstat (limited to 'bin/sh/options.h')
-rw-r--r--bin/sh/options.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/options.h b/bin/sh/options.h
index 3b827d16016d..fc9085ed2b01 100644
--- a/bin/sh/options.h
+++ b/bin/sh/options.h
@@ -111,5 +111,5 @@ void freeparam(struct shparam *);
int shiftcmd(int, char **);
int setcmd(int, char **);
int getoptscmd(int, char **);
-int nextopt(char *);
+int nextopt(const char *);
void getoptsreset(const char *);