aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2010-07-13 11:59:02 +0000
committerIan Lance Taylor <ian@airs.com>2010-07-13 11:59:02 +0000
commit241531d62d5e36e157fbf2f5db99f50b632d1a29 (patch)
treed89304027231a52c3e6aa6d057c710d56bc6b461 /gold
parentf2d707b5bbca6893f38094b9be1e6346118a6d0e (diff)
downloadfsf-binutils-gdb-241531d62d5e36e157fbf2f5db99f50b632d1a29.zip
fsf-binutils-gdb-241531d62d5e36e157fbf2f5db99f50b632d1a29.tar.gz
fsf-binutils-gdb-241531d62d5e36e157fbf2f5db99f50b632d1a29.tar.bz2
* compressed_output.cc (zlib_decompress): Fix signature in
!HAVE_ZLIB_H case.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog3
-rw-r--r--gold/compressed_output.cc2
2 files changed, 4 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index d62547e..1c5b157 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,5 +1,8 @@
2010-07-13 Ian Lance Taylor <iant@google.com>
+ * compressed_output.cc (zlib_decompress): Fix signature in
+ !HAVE_ZLIB_H case.
+
* archive.cc (Archive::include_member): Unlock an external member
of a thin archive. Don't bother to delete an object we know is
NULL.
diff --git a/gold/compressed_output.cc b/gold/compressed_output.cc
index 16d9129..9c7c7dd 100644
--- a/gold/compressed_output.cc
+++ b/gold/compressed_output.cc
@@ -135,7 +135,7 @@ zlib_compress(const unsigned char*, unsigned long,
static bool
zlib_decompress(const unsigned char*, unsigned long,
- unsigned char**, unsigned long*)
+ unsigned char*, unsigned long)
{
return false;
}