summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2005-02-11 19:06:51 +0000
committerEric Andersen2005-02-11 19:06:51 +0000
commitd2fe81706c9d65dd1580c85338036cc403364fae (patch)
treede10906de3d2a98800fd0c55dd2d8a2b31f0eb14
parentd1e3cbdb5a9dd026b95cb4760405f10a060ee7e7 (diff)
downloadbusybox-d2fe81706c9d65dd1580c85338036cc403364fae.zip
busybox-d2fe81706c9d65dd1580c85338036cc403364fae.tar.gz
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.
-rw-r--r--archival/gzip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/gzip.c b/archival/gzip.c
index e539c2a..56d4d92 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 */