summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-10-27 09:28:36 +0000
committerPeter Stephenson <pws@zsh.org>2015-10-27 09:28:36 +0000
commitd45a68c5463224f43721371fb7bd4cbc24e62874 (patch)
tree49f64e7412eccbb0444ea52bf62c48aa1eac0c69 /Src/Zle
parent81fa9fd25a57ebaf7e242bc678a6fd179bbdb718 (diff)
downloadzsh-d45a68c5463224f43721371fb7bd4cbc24e62874.tar.gz
zsh-d45a68c5463224f43721371fb7bd4cbc24e62874.tar.xz
zsh-d45a68c5463224f43721371fb7bd4cbc24e62874.zip
36974: fix some functions with empty argument lists
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/complist.c6
-rw-r--r--Src/Zle/computil.c4
-rw-r--r--Src/Zle/zle_thingy.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c
index 986ad31ea..29aaee82a 100644
--- a/Src/Zle/complist.c
+++ b/Src/Zle/complist.c
@@ -499,7 +499,7 @@ filecol(char *col)
  */
 
 static void
-getcols()
+getcols(void)
 {
     char *s;
     int i, l;
@@ -602,7 +602,7 @@ zcoff(void)
 
 
 static void
-initiscol()
+initiscol(void)
 {
     int i;
 
@@ -1909,7 +1909,7 @@ singlecalc(int *cp, int l, int *lcp)
 }
 
 static void
-singledraw()
+singledraw(void)
 {
     Cmgroup g;
     int mc1, mc2, ml1, ml2, md1, md2, mcc1, mcc2, lc1, lc2, t1, t2;
diff --git a/Src/Zle/computil.c b/Src/Zle/computil.c
index db8db88a6..60fb096be 100644
--- a/Src/Zle/computil.c
+++ b/Src/Zle/computil.c
@@ -185,7 +185,7 @@ cd_group(int maxg)
  * descriptions. */
 
 static void
-cd_calc()
+cd_calc(void)
 {
     Cdset set;
     Cdstr str;
@@ -236,7 +236,7 @@ cd_sort(const void *a, const void *b)
 }
 
 static int
-cd_prep()
+cd_prep(void)
 {
     Cdrun run, *runp;
     Cdset set;
diff --git a/Src/Zle/zle_thingy.c b/Src/Zle/zle_thingy.c
index c6ef8e6a0..271fd8efc 100644
--- a/Src/Zle/zle_thingy.c
+++ b/Src/Zle/zle_thingy.c
@@ -626,7 +626,7 @@ bin_zle_complete(char *name, char **args, UNUSED(Options ops), UNUSED(char func)
 
 /**/
 static int
-zle_usable()
+zle_usable(void)
 {
     return zleactive && !incompctlfunc && !incompfunc
 #if 0