This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
gold patch committed: Fix zlib_decompress if !HAVE_ZLIB_H
- From: Ian Lance Taylor <iant at google dot com>
- To: binutils at sourceware dot org
- Date: Tue, 13 Jul 2010 04:59:52 -0700
- Subject: gold patch committed: Fix zlib_decompress if !HAVE_ZLIB_H
This patch fixes the signature of the zlib_decompress function when
HAVE_ZLIB_H is not defined. Committed.
Ian
2010-07-13 Ian Lance Taylor <iant@google.com>
* compressed_output.cc (zlib_decompress): Fix signature in
!HAVE_ZLIB_H case.
Index: compressed_output.cc
===================================================================
RCS file: /cvs/src/src/gold/compressed_output.cc,v
retrieving revision 1.12
diff -p -u -r1.12 compressed_output.cc
--- compressed_output.cc 12 Jul 2010 17:59:58 -0000 1.12
+++ compressed_output.cc 13 Jul 2010 11:58:27 -0000
@@ -135,7 +135,7 @@ zlib_compress(const unsigned char*, unsi
static bool
zlib_decompress(const unsigned char*, unsigned long,
- unsigned char**, unsigned long*)
+ unsigned char*, unsigned long)
{
return false;
}