diff options
author | Mattias Andrée <maandree@kth.se> | 2021-03-07 22:51:21 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-03-07 22:51:21 +0100 |
commit | baa6a1cf7979c095c1081daa2a2d1134c76d2f1b (patch) | |
tree | d0525238a334091eb4d241b0b83da1a4a1793d5b /libgamma_x_randr_crtc_initialise.c | |
parent | Start replacing info manual with man pages (diff) | |
download | libgamma-baa6a1cf7979c095c1081daa2a2d1134c76d2f1b.tar.gz libgamma-baa6a1cf7979c095c1081daa2a2d1134c76d2f1b.tar.bz2 libgamma-baa6a1cf7979c095c1081daa2a2d1134c76d2f1b.tar.xz |
misc
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | libgamma_x_randr_crtc_initialise.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libgamma_x_randr_crtc_initialise.c b/libgamma_x_randr_crtc_initialise.c index 808b2c2..150c390 100644 --- a/libgamma_x_randr_crtc_initialise.c +++ b/libgamma_x_randr_crtc_initialise.c @@ -13,10 +13,10 @@ * error identifier provided by this library */ int -libgamma_x_randr_crtc_initialise(libgamma_crtc_state_t *restrict this, - libgamma_partition_state_t *restrict partition, size_t crtc) +libgamma_x_randr_crtc_initialise(struct libgamma_crtc_state *restrict this, + struct libgamma_partition_state *restrict partition, size_t crtc) { - libgamma_x_randr_partition_data_t *restrict screen_data = partition->data; + struct libgamma_x_randr_partition_data *restrict screen_data = partition->data; xcb_randr_crtc_t *restrict crtc_ids = screen_data->crtcs; this->data = crtc_ids + crtc; return crtc < partition->crtcs_available ? 0 : LIBGAMMA_NO_SUCH_CRTC; |