aboutsummaryrefslogtreecommitdiffstats
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
commit9f07a903e8c781d00eaa913e642dc059812a2b32 (patch)
tree7a8c9d84fefbb601510163e3d338a0762d360df3
parent7f32515c4d5ef80a96bc56d5f093dc0a42e3ea0d (diff)
downloadupstream-9f07a903e8c781d00eaa913e642dc059812a2b32.tar.gz
upstream-9f07a903e8c781d00eaa913e642dc059812a2b32.tar.bz2
upstream-9f07a903e8c781d00eaa913e642dc059812a2b32.zip
tools/lzma-old fix compile issues (patch from #10253)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28502 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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;