about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2015-04-25 10:51:54 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2015-04-25 10:51:54 -0700
commitf8fb6ebae8a829ce20291c9f37fb23c48fd4c32e (patch)
treedfcbbd9c01ca69b2c1f9b21d31e54cb0c1dfc0eb /Src
parent89c2129905d067b2d52c70f5b453561bb782da89 (diff)
downloadzsh-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.c6
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++)