summaryrefslogtreecommitdiffstats
path: root/Utilities/cmliblzma/liblzma/common/index_decoder.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/common/index_decoder.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/common/index_decoder.c')
-rw-r--r--Utilities/cmliblzma/liblzma/common/index_decoder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Utilities/cmliblzma/liblzma/common/index_decoder.c b/Utilities/cmliblzma/liblzma/common/index_decoder.c
index 943cfd5..6c91f10 100644
--- a/Utilities/cmliblzma/liblzma/common/index_decoder.c
+++ b/Utilities/cmliblzma/liblzma/common/index_decoder.c
@@ -55,10 +55,10 @@ struct lzma_coder_s {
static lzma_ret
index_decode(lzma_coder *coder, lzma_allocator *allocator,
- const uint8_t *LZMA_RESTRICT in, size_t *LZMA_RESTRICT in_pos,
+ const uint8_t *restrict in, size_t *restrict in_pos,
size_t in_size,
- uint8_t *LZMA_RESTRICT out lzma_attribute((__unused__)),
- size_t *LZMA_RESTRICT out_pos lzma_attribute((__unused__)),
+ uint8_t *restrict out lzma_attribute((__unused__)),
+ size_t *restrict out_pos lzma_attribute((__unused__)),
size_t out_size lzma_attribute((__unused__)),
lzma_action action lzma_attribute((__unused__)))
{