summaryrefslogtreecommitdiffstats
path: root/Utilities/cmliblzma/liblzma/lzma/lzma_encoder_optimum_fast.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-08-06 13:45:06 (GMT)
committerBrad King <brad.king@kitware.com>2018-08-06 13:47:42 (GMT)
commit0a3912112d11514ba1652423e21a767507ce75fb (patch)
tree91c973b47790ebeab1ceb91876aadb4f08c8557b /Utilities/cmliblzma/liblzma/lzma/lzma_encoder_optimum_fast.c
parentd7a1bcd2e67e27d8897c100f14744547ef639d64 (diff)
downloadCMake-0a3912112d11514ba1652423e21a767507ce75fb.zip
CMake-0a3912112d11514ba1652423e21a767507ce75fb.tar.gz
CMake-0a3912112d11514ba1652423e21a767507ce75fb.tar.bz2
liblzma: Revert "Avoid defining a 'restrict' macro"
Revert commit v3.1.0-rc1~255^2~2 (liblzma: Avoid defining a 'restrict' macro, 2014-07-24). We will use another approach to deal with the 'restrict' keyword.
Diffstat (limited to 'Utilities/cmliblzma/liblzma/lzma/lzma_encoder_optimum_fast.c')
-rw-r--r--Utilities/cmliblzma/liblzma/lzma/lzma_encoder_optimum_fast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Utilities/cmliblzma/liblzma/lzma/lzma_encoder_optimum_fast.c b/Utilities/cmliblzma/liblzma/lzma/lzma_encoder_optimum_fast.c
index f983126..52c26e4 100644
--- a/Utilities/cmliblzma/liblzma/lzma/lzma_encoder_optimum_fast.c
+++ b/Utilities/cmliblzma/liblzma/lzma/lzma_encoder_optimum_fast.c
@@ -17,8 +17,8 @@
extern void
-lzma_lzma_optimum_fast(lzma_coder *LZMA_RESTRICT coder, lzma_mf *LZMA_RESTRICT mf,
- uint32_t *LZMA_RESTRICT back_res, uint32_t *LZMA_RESTRICT len_res)
+lzma_lzma_optimum_fast(lzma_coder *restrict coder, lzma_mf *restrict mf,
+ uint32_t *restrict back_res, uint32_t *restrict len_res)
{
const uint8_t *buf;
uint32_t buf_avail;