aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-23 18:49:30 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-23 18:49:30 +0200
commit435c73d6258a510d824341484ea73695aa31af04 (patch)
tree88f7acdc23166b90c10abee985c4a5f229cf2349 /src
parentgamma-x-randr: partition init (diff)
downloadlibgamma-435c73d6258a510d824341484ea73695aa31af04.tar.gz
libgamma-435c73d6258a510d824341484ea73695aa31af04.tar.bz2
libgamma-435c73d6258a510d824341484ea73695aa31af04.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r--src/gamma-x-randr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gamma-x-randr.c b/src/gamma-x-randr.c
index 105d4fc..95e8fdc 100644
--- a/src/gamma-x-randr.c
+++ b/src/gamma-x-randr.c
@@ -129,10 +129,10 @@ int libgamma_x_randr_site_initialise(libgamma_site_state_t* restrict this,
char* restrict site)
{
xcb_generic_error_t* error = NULL;
- xcb_connection_t* restrict connection;
+ xcb_connection_t* connection;
xcb_randr_query_version_cookie_t cookie;
- xcb_randr_query_version_reply_t* restrict reply;
- const xcb_setup_t* restrict setup;
+ xcb_randr_query_version_reply_t* reply;
+ const xcb_setup_t* setup;
xcb_screen_iterator_t iter;
this->data = connection = xcb_connect(site, NULL);
@@ -220,8 +220,8 @@ int libgamma_x_randr_partition_initialise(libgamma_partition_state_t* restrict t
xcb_generic_error_t* error = NULL;
xcb_screen_iterator_t iter;
xcb_randr_get_screen_resources_current_cookie_t cookie;
- xcb_randr_get_screen_resources_current_reply_t* restrict reply;
- xcb_randr_crtc_t* restrict crtcs;
+ xcb_randr_get_screen_resources_current_reply_t* reply;
+ xcb_randr_crtc_t* crtcs;
size_t i;
if (setup == NULL)