This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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;
 }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]