From 5f95aaf2b397aa0f2da15d4a70898adefa6b0afe Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 21 Oct 2011 12:52:49 +0000 Subject: tools/lzma-old fix compile issues (patch from #10253) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28502 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- tools/lzma-old/patches/100-lzma_zlib.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/lzma-old') diff --git a/tools/lzma-old/patches/100-lzma_zlib.patch b/tools/lzma-old/patches/100-lzma_zlib.patch index 7436cfe51..32d126396 100644 --- a/tools/lzma-old/patches/100-lzma_zlib.patch +++ b/tools/lzma-old/patches/100-lzma_zlib.patch @@ -311,9 +311,9 @@ + UInt64 m_offset; +}; + -+ZEXTERN int ZEXPORT compress2 OF((Bytef *dest, uLongf *destLen, ++ZEXTERN int ZEXPORT compress2 (Bytef *dest, uLongf *destLen, + const Bytef *source, uLong sourceLen, -+ int level)) ++ int level) +{ + CInMemoryStream *inStreamSpec = new CInMemoryStream(source, sourceLen); + CMyComPtr inStream = inStreamSpec; @@ -374,8 +374,8 @@ + return Z_OK; +} + -+ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen, -+ const Bytef *source, uLong sourceLen)) ++ZEXTERN int ZEXPORT uncompress (Bytef *dest, uLongf *destLen, ++ const Bytef *source, uLong sourceLen) +{ + CInMemoryStream *inStreamSpec = new CInMemoryStream(source, sourceLen); + CMyComPtr inStream = inStreamSpec; -- cgit v1.2.3