From f8fb6ebae8a829ce20291c9f37fb23c48fd4c32e Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Sat, 25 Apr 2015 10:51:54 -0700 Subject: 34961: clean up declarations of quote() and quotebreak() --- ChangeLog | 2 ++ Src/hist.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9dd9bcc2b..713da5337 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2015-04-25 Barton E. Schaefer + * 34961: Src/hist.c: clean up decl's of quote() and quotebreak() + * 34961: Doc/Zsh/mod_system.yo: sysparams[pid] and sysparams[ppid] added to variables index 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++) -- cgit 1.4.1