aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-helper.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-25 05:47:19 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-25 05:47:19 +0200
commit735b97fa6e91dea08f4ea9a0cab92ebf4cfda033 (patch)
tree880053440df77577db5d44fb47ae9269348c2c86 /src/gamma-helper.c
parentm + gamma-x-randr: get output and output info (diff)
downloadlibgamma-735b97fa6e91dea08f4ea9a0cab92ebf4cfda033.tar.gz
libgamma-735b97fa6e91dea08f4ea9a0cab92ebf4cfda033.tar.bz2
libgamma-735b97fa6e91dea08f4ea9a0cab92ebf4cfda033.tar.xz
more restrict
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/gamma-helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gamma-helper.c b/src/gamma-helper.c
index 9ae7915..5d73b02 100644
--- a/src/gamma-helper.c
+++ b/src/gamma-helper.c
@@ -185,7 +185,7 @@ int libgamma_translated_ramp_get_(libgamma_crtc_state_t* restrict this,
size_t n;
int r;
libgamma_gamma_ramps_any_t ramps_sys;
- uint64_t* ramps_full;
+ uint64_t* restrict ramps_full;
if ((r = allocated_any_ramp(&ramps_sys, *ramps, depth_system, &n)))
return r;
@@ -234,7 +234,7 @@ int libgamma_translated_ramp_set_(libgamma_crtc_state_t* restrict this,
size_t n;
int r;
libgamma_gamma_ramps_any_t ramps_sys;
- uint64_t* ramps_full;
+ uint64_t* restrict ramps_full;
if ((r = allocated_any_ramp(&ramps_sys, ramps, depth_system, &n)))
return r;