From a4f7cf89ebd158d9e93bcdcb7a3709fd2a4a8e37 Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Mon, 9 Dec 2013 11:06:04 -0500 Subject: Constify gamma parameter to set_temperature() methods --- src/gamma-randr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gamma-randr.c') diff --git a/src/gamma-randr.c b/src/gamma-randr.c index c6320f9..983e43b 100644 --- a/src/gamma-randr.c +++ b/src/gamma-randr.c @@ -301,7 +301,7 @@ randr_set_option(randr_state_t *state, const char *key, const char *value) static int randr_set_temperature_for_crtc(randr_state_t *state, int crtc_num, int temp, - float brightness, float gamma[3]) + float brightness, const float gamma[3]) { xcb_generic_error_t *error; @@ -356,7 +356,7 @@ randr_set_temperature_for_crtc(randr_state_t *state, int crtc_num, int temp, int randr_set_temperature(randr_state_t *state, int temp, float brightness, - float gamma[3]) + const float gamma[3]) { int r; -- cgit v1.2.3-70-g09d2