diff options
author | Ralph Giles <giles@ghostscript.com> | 2009-02-17 08:01:33 +0100 |
---|---|---|
committer | Ralph Giles <giles@ghostscript.com> | 2009-02-17 08:01:33 +0100 |
commit | 2f54cd2414c1114d7f51ac2fc8d89f0b6b5278e8 (patch) | |
tree | 012cc0657cf47f3632c031bdd2415ce9e62a99e4 | |
parent | 1971aaa107294c0b586cd6475760033f7e746543 (diff) | |
download | mupdf-2f54cd2414c1114d7f51ac2fc8d89f0b6b5278e8.tar.xz |
Propagate restrict type specifiers to other ximage_convert functions.
-rw-r--r-- | apps/unix/ximage.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/unix/ximage.c b/apps/unix/ximage.c index 885d8437..bdf245c7 100644 --- a/apps/unix/ximage.c +++ b/apps/unix/ximage.c @@ -463,8 +463,8 @@ static void ximage_convert_bgra8888(PARAMS) { int x, y; - unsigned *s = (unsigned *)src; - unsigned *d = (unsigned *)dst; + unsigned * restrict s = (unsigned *)src; + unsigned * restrict d = (unsigned *)dst; unsigned val; for (y = 0; y < h; y++) { for (x = 0; x < w; x++) { @@ -493,8 +493,8 @@ static void ximage_convert_abgr8888(PARAMS) { int x, y; - unsigned *s = (unsigned *)src; - unsigned *d = (unsigned *)dst; + unsigned * restrict s = (unsigned *)src; + unsigned * restrict d = (unsigned *)dst; unsigned val; for (y = 0; y < h; y++) { |