aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lzma-old/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-21 12:52:49 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-10-21 12:52:49 +0000
commit0b893424ffc5c5c1562257b765e019c1c0e166bd (patch)
tree6e4a835dc4e5c463c1b5614d80c27002a8794591 /tools/lzma-old/patches
parentee61d7007a3a7fb9f31586801a360081f51cea58 (diff)
downloadupstream-0b893424ffc5c5c1562257b765e019c1c0e166bd.tar.gz
upstream-0b893424ffc5c5c1562257b765e019c1c0e166bd.tar.bz2
upstream-0b893424ffc5c5c1562257b765e019c1c0e166bd.zip
tools/lzma-old fix compile issues (patch from #10253)
SVN-Revision: 28502
Diffstat (limited to 'tools/lzma-old/patches')
-rw-r--r--tools/lzma-old/patches/100-lzma_zlib.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/lzma-old/patches/100-lzma_zlib.patch b/tools/lzma-old/patches/100-lzma_zlib.patch
index 7436cfe515..32d1263963 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<ISequentialInStream> 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<ISequentialInStream> inStream = inStreamSpec;