Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: error?



On Mon, 26 Oct 2015 11:11:04 -0700
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> Src/Modules/zftp.c:412:zfpipe()
> Src/Modules/zftp.c:453:zfunpipe()
> Src/Modules/zftp.c:1301:zfendtrans()
> Src/Modules/zftp.c:2837:savesession()
> Src/Zle/complist.c:502:getcols()
> Src/Zle/complist.c:605:initiscol()
> Src/Zle/complist.c:1912:singledraw()
> Src/Zle/computil.c:188:cd_calc()
> Src/Zle/computil.c:239:cd_prep()
> Src/Zle/zle_thingy.c:629:zle_usable()
> Src/parse.c:533:clear_hdocs()

diff --git a/Src/Modules/zftp.c b/Src/Modules/zftp.c
index bd51512..b4081df 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 986ad31..29aaee8 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 e5db086..59a5631 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 c6ef8e6..271fd8e 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 a26df6f..83ba396 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;
 



Messages sorted by: Reverse Date, Date, Thread, Author