summaryrefslogtreecommitdiffstats
path: root/src/fake_quartz.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-16 01:23:06 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-16 01:23:06 +0200
commitc68d6050fd37737cf6429d8ff9a4b6e8aba958b1 (patch)
tree36adcdb72f06d8ad84a9266e6bf18c9f3831131b /src/fake_quartz.h
parentupdate makefile and gitignore (diff)
downloadblueshift-c68d6050fd37737cf6429d8ff9a4b6e8aba958b1.tar.gz
blueshift-c68d6050fd37737cf6429d8ff9a4b6e8aba958b1.tar.bz2
blueshift-c68d6050fd37737cf6429d8ff9a4b6e8aba958b1.tar.xz
fix warnings
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/fake_quartz.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fake_quartz.h b/src/fake_quartz.h
index ee6d065..d6603dc 100644
--- a/src/fake_quartz.h
+++ b/src/fake_quartz.h
@@ -51,7 +51,7 @@ CGError CGGetDisplayTransferByTable(CGDirectDisplayID display, uint32_t gamma_si
void CGDisplayRestoreColorSyncSettings(void);
-uint32_t CGDisplayGammaTableCapacity(CGDirectDisplayID display);
+uint32_t CGDisplayGammaTableCapacity(CGDirectDisplayID display) __attribute__((const));
/* The follow part most only be used when this module is used,