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

Re: error?



On Mon, 26 Oct 2015 08:28:42 -0700
Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
> I just finished creating a back of my whole install, then did a 
> configure and make in the backup and got this:
> 
> 
>     zle_thingy.c:667:1: warning: ‘zle_usable’ was used with no prototype

That is, in fact, to use the technical description, wrong.

pws

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



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