Replace deprecated LZ4 functions
authorNick Terrell <terrelln@fb.com>
Thu, 17 Nov 2016 21:18:48 +0000 (13:18 -0800)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Thu, 17 Nov 2016 21:23:42 +0000 (13:23 -0800)
commitdb777d6b97ec08fdbf461679acf46a9d8ffab62a
tree7a59ef95eca381556f20e796a527777177d78cda
parentb981b9f2dbaa2082f3e4794d08d3f57afc4237b4
Replace deprecated LZ4 functions

Summary:
Replace deprecated functions with their functionally equivalent counterparts.

See https://github.com/lz4/lz4/blob/dev/lib/lz4.c#L1405 and https://github.com/lz4/lz4/blob/dev/lib/lz4hc.c#L634

Reviewed By: Cyan4973

Differential Revision: D4194834

fbshipit-source-id: aa4f934c46fe764fcec8ea29221e3882da2b5cdf
folly/io/Compression.cpp