summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Src')
-rw-r--r--Src/Modules/zftp.c8
-rw-r--r--Src/Zle/complist.c6
-rw-r--r--Src/Zle/computil.c4
-rw-r--r--Src/Zle/zle_thingy.c2
-rw-r--r--Src/parse.c2
5 files changed, 11 insertions, 11 deletions
diff --git a/Src/Modules/zftp.c b/Src/Modules/zftp.c
index bd51512f9..b4081df5f 100644
--- a/Src/Modules/zftp.c
+++ b/Src/Modules/zftp.c
@@ -409,7 +409,7 @@ zfalarm(int tmout)
 
 /**/
 static void
-zfpipe()
+zfpipe(void)
 {
     /* Just ignore SIGPIPE and rely on getting EPIPE from the write. */
     signal(SIGPIPE, SIG_IGN);
@@ -450,7 +450,7 @@ zfunalarm(void)
 
 /**/
 static void
-zfunpipe()
+zfunpipe(void)
 {
     if (sigtrapped[SIGPIPE]) {
 	if (siglists[SIGPIPE] || (sigtrapped[SIGPIPE] & ZSIG_FUNC))
@@ -1298,7 +1298,7 @@ zfstarttrans(char *nam, int recv, off_t sz)
 
 /**/
 static void
-zfendtrans()
+zfendtrans(void)
 {
     zfunsetparam("ZFTP_SIZE");
     zfunsetparam("ZFTP_FILE");
@@ -2834,7 +2834,7 @@ newsession(char *nm)
 /* Save the existing session: this just means saving the parameters. */
 
 static void
-savesession()
+savesession(void)
 {
     char **ps, **pd, *val;
 
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
diff --git a/Src/parse.c b/Src/parse.c
index a26df6f0a..83ba396b0 100644
--- a/Src/parse.c
+++ b/Src/parse.c
@@ -530,7 +530,7 @@ empty_eprog(Eprog p)
 }
 
 static void
-clear_hdocs()
+clear_hdocs(void)
 {
     struct heredocs *p, *n;