aboutsummaryrefslogtreecommitdiffstats
path: root/src/fake-quartz-cg.h
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/fake-quartz-cg.h
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 'src/fake-quartz-cg.h')
-rw-r--r--src/fake-quartz-cg.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/fake-quartz-cg.h b/src/fake-quartz-cg.h
index f1d8e14..268347c 100644
--- a/src/fake-quartz-cg.h
+++ b/src/fake-quartz-cg.h
@@ -45,13 +45,15 @@ typedef float CGGammaValue;
typedef uint32_t CGDirectDisplayID;
-CGError CGGetOnlineDisplayList(uint32_t max_size, CGDirectDisplayID* displays_out, uint32_t* count_out);
+CGError CGGetOnlineDisplayList(uint32_t max_size,
+ CGDirectDisplayID* restrict displays_out, uint32_t* restrict count_out);
CGError CGSetDisplayTransferByTable(CGDirectDisplayID display, uint32_t gamma_size, const CGGammaValue* red,
const CGGammaValue* green, const CGGammaValue* blue);
-CGError CGGetDisplayTransferByTable(CGDirectDisplayID display, uint32_t gamma_size, CGGammaValue* red,
- CGGammaValue* green, CGGammaValue* blue, uint32_t* gamma_size_out);
+CGError CGGetDisplayTransferByTable(CGDirectDisplayID display, uint32_t gamma_size,
+ CGGammaValue* restrict red, CGGammaValue* restrict green,
+ CGGammaValue* restrict blue, uint32_t* restrict gamma_size_out);
void CGDisplayRestoreColorSyncSettings(void);