From d2fe81706c9d65dd1580c85338036cc403364fae Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 11 Feb 2005 19:06:51 +0000 Subject: Takeharu KATO writes: Hi, I found that gcc in cvs (HEAD in 2005/02/11) reject the gzip source in the busybox. This is caused by changing gcc's error handling behavior( The gcc check the function prototype more strictly). I show the compilation log as follow: -- compilation log -- compilation log To fix the problem, apply the patch which is attached with this mail. Please take a look the patch and apply the patch into svn repository. --- archival/gzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archival') diff --git a/archival/gzip.c b/archival/gzip.c index e539c2a46..56d4d9278 100644 --- a/archival/gzip.c +++ b/archival/gzip.c @@ -2142,7 +2142,7 @@ static void send_tree(ct_data * tree, int max_code) * Construct the Huffman tree for the bit lengths and return the index in * bl_order of the last bit length code to send. */ -static const int build_bl_tree() +static int build_bl_tree() { int max_blindex; /* index of last bit length code of non zero freq */ -- cgit v1.2.3