diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2015-04-25 10:51:54 -0700 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2015-04-25 10:51:54 -0700 |
commit | f8fb6ebae8a829ce20291c9f37fb23c48fd4c32e (patch) | |
tree | dfcbbd9c01ca69b2c1f9b21d31e54cb0c1dfc0eb /Src | |
parent | 89c2129905d067b2d52c70f5b453561bb782da89 (diff) | |
download | zsh-f8fb6ebae8a829ce20291c9f37fb23c48fd4c32e.tar.gz zsh-f8fb6ebae8a829ce20291c9f37fb23c48fd4c32e.tar.xz zsh-f8fb6ebae8a829ce20291c9f37fb23c48fd4c32e.zip |
34961: clean up declarations of quote() and quotebreak()
Diffstat (limited to 'Src')
-rw-r--r-- | Src/hist.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Src/hist.c b/Src/hist.c index 185d0a0d8..bd03c4f11 100644 --- a/Src/hist.c +++ b/Src/hist.c @@ -2255,10 +2255,10 @@ getargs(Histent elist, int arg1, int arg2) } /**/ -int +static int quote(char **tr) { - char *ptr, *rptr, **str = (char **)tr; + char *ptr, *rptr, **str = tr; int len = 3; int inquotes = 0; @@ -2299,7 +2299,7 @@ quote(char **tr) static int quotebreak(char **tr) { - char *ptr, *rptr, **str = (char **)tr; + char *ptr, *rptr, **str = tr; int len = 3; for (ptr = *str; *ptr; ptr++, len++) |