aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-vidmode.h
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2013-12-09 11:06:04 -0500
committerJon Lund Steffensen <jonlst@gmail.com>2013-12-09 12:28:45 -0500
commita4f7cf89ebd158d9e93bcdcb7a3709fd2a4a8e37 (patch)
tree6a68ea400a7905dfc39e4d4393e01d22f133a993 /src/gamma-vidmode.h
parentWhen in print mode do not start a gamma method (diff)
downloadredshift-ng-a4f7cf89ebd158d9e93bcdcb7a3709fd2a4a8e37.tar.gz
redshift-ng-a4f7cf89ebd158d9e93bcdcb7a3709fd2a4a8e37.tar.bz2
redshift-ng-a4f7cf89ebd158d9e93bcdcb7a3709fd2a4a8e37.tar.xz
Constify gamma parameter to set_temperature() methods
Diffstat (limited to 'src/gamma-vidmode.h')
-rw-r--r--src/gamma-vidmode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gamma-vidmode.h b/src/gamma-vidmode.h
index 735ba1f..9a2b7d9 100644
--- a/src/gamma-vidmode.h
+++ b/src/gamma-vidmode.h
@@ -43,7 +43,7 @@ int vidmode_set_option(vidmode_state_t *state, const char *key,
void vidmode_restore(vidmode_state_t *state);
int vidmode_set_temperature(vidmode_state_t *state, int temp, float brightness,
- float gamma[3]);
+ const float gamma[3]);
#endif /* ! _REDSHIFT_GAMMA_VIDMODE_H */