Use 'restrict' on pointer arguments to all compress() and decompress() functions
[wimlib] / src / lzx_compress.c
index 28a2656fb45852006f529d3df2f686c67fd6bbd2..3f3b836c636f8dd2bbdac17ae6a7b2d97bb673e0 100644 (file)
@@ -2120,8 +2120,8 @@ oom0:
 }
 
 static size_t
-lzx_compress(const void *in, size_t in_nbytes,
-            void *out, size_t out_nbytes_avail, void *_c)
+lzx_compress(const void *restrict in, size_t in_nbytes,
+            void *restrict out, size_t out_nbytes_avail, void *restrict _c)
 {
        struct lzx_compressor *c = _c;
        struct lzx_output_bitstream os;