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

PATCH: minor type fixes



--- Src/Modules/zftp.c.pr	Wed Mar 24 10:19:50 1999
+++ Src/Modules/zftp.c	Wed Mar 24 10:20:02 1999
@@ -391,7 +391,7 @@
 
 /**/
 static void
-zfunalarm()
+zfunalarm(void)
 {
     if (oalremain) {
 	/*
@@ -670,7 +670,7 @@
 
 /**/
 static int 
-zfgetmsg()
+zfgetmsg(void)
 {
     char line[256], *ptr, *verbose;
     int stopit, printing = 0, tmout;
--- Src/Zle/zle_move.c.pr	Wed Apr 29 23:42:44 1998
+++ Src/Zle/zle_move.c	Wed Mar 24 10:21:09 1999
@@ -30,7 +30,7 @@
 #include "zle.mdh"
 #include "zle_move.pro"
 
-static vimarkcs[27], vimarkline[27];
+static int vimarkcs[27], vimarkline[27];
 
 /**/
 void
--- Src/Zle/zle_tricky.c.pr	Wed Mar 24 09:33:10 1999
+++ Src/Zle/zle_tricky.c	Wed Mar 24 10:20:52 1999
@@ -181,7 +181,7 @@
 
 /* The match counter when unambig_data() was called. */
 
-static unambig_mnum;
+static int unambig_mnum;
 
 /* Match flags for all matches in this group. */
 
--- Src/glob.c.pr	Wed Mar 24 10:19:45 1999
+++ Src/glob.c	Wed Mar 24 10:20:10 1999
@@ -583,7 +583,7 @@
 
 /**/
 static int
-getglobflags()
+getglobflags(void)
 {
     char *nptr;
     /* (#X): assumes we are still positioned on the initial '(' */

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy



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