tools/lzma-old: merge r28502 (fix compile issues, closes: #10253, #10459)
authorNicolas Thill <nico@openwrt.org>
Sat, 19 Nov 2011 12:44:40 +0000 (12:44 +0000)
committerNicolas Thill <nico@openwrt.org>
Sat, 19 Nov 2011 12:44:40 +0000 (12:44 +0000)
SVN-Revision: 29255

tools/lzma-old/patches/100-lzma_zlib.patch

index 7436cfe51552c19d8e64b339acd54ff2057fa4cd..32d1263963883233e9089835a5f36139e234e65d 100644 (file)
 +      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;
 +      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;