summaryrefslogtreecommitdiff
path: root/tools/lzma-old/patches
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-10-21 12:52:49 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-10-21 12:52:49 +0000
commit5f95aaf2b397aa0f2da15d4a70898adefa6b0afe (patch)
tree7a8c9d84fefbb601510163e3d338a0762d360df3 /tools/lzma-old/patches
parent24a1c090915cf77684ec27c444c88c29df987bad (diff)
tools/lzma-old fix compile issues (patch from #10253)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28502 3c298f89-4303-0410-b956-a3cf2f4a3e73
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;