aboutsummaryrefslogtreecommitdiff
path: root/bin/sh/histedit.c
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/histedit.c
parentb4c170e1f58feb50951b5453cfba4007a3ee18ff (diff)
downloadsrc-2cac6e364a22fbb88eff4a1d36a09fef0064b421.tar.gz
src-2cac6e364a22fbb88eff4a1d36a09fef0064b421.zip
Notes
Diffstat (limited to 'bin/sh/histedit.c')
-rw-r--r--bin/sh/histedit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/sh/histedit.c b/bin/sh/histedit.c
index 0c2def8926d9..8240a96c72a0 100644
--- a/bin/sh/histedit.c
+++ b/bin/sh/histedit.c
@@ -406,7 +406,7 @@ fc_replace(const char *s, char *p, char *r)
}
int
-not_fcnumber(char *s)
+not_fcnumber(const char *s)
{
if (s == NULL)
return (0);
@@ -416,10 +416,10 @@ not_fcnumber(char *s)
}
int
-str_to_event(char *str, int last)
+str_to_event(const char *str, int last)
{
HistEvent he;
- char *s = str;
+ const char *s = str;
int relative = 0;
int i, retval;