Use 'restrict' on pointer arguments to all compress() and decompress() functions
[wimlib] / src / xpress_compress.c
index cf29df99268d2801e97cdab246c44392d1bfdea9..6750160450ae76ec8fa4991f78867f89eea147fe 100644 (file)
@@ -1135,8 +1135,8 @@ oom0:
 }
 
 static size_t
-xpress_compress(const void *in, size_t in_nbytes,
-               void *out, size_t out_nbytes_avail, void *_c)
+xpress_compress(const void *restrict in, size_t in_nbytes,
+               void *restrict out, size_t out_nbytes_avail, void *restrict _c)
 {
        struct xpress_compressor *c = _c;