[Cook] [PATCH] Fix compilation problem with GCC 4.0

Florian Weimer fw at deneb.enyo.de
Mon Mar 7 06:58:52 EST 2005


The following patch (from Andreas Jochens) fixes a C compliance bug in
cook 2.25.

--- file_check/file_check.c	(revision 49)
+++ file_check/file_check.c	(revision 50)
@@ -28,7 +28,7 @@
 #include <error_intl.h>
 
 int		warning;
-static int	limit;
+int		limit;
 static int	number_of_blank_lines;
 static int	number_of_errors;
 static int	line_number;



More information about the Cook-users mailing list