aboutsummaryrefslogtreecommitdiffstats
path: root/libgamma_method_capabilities.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-03-07 22:51:21 +0100
committerMattias Andrée <maandree@kth.se>2021-03-07 22:51:21 +0100
commitbaa6a1cf7979c095c1081daa2a2d1134c76d2f1b (patch)
treed0525238a334091eb4d241b0b83da1a4a1793d5b /libgamma_method_capabilities.c
parentStart replacing info manual with man pages (diff)
downloadlibgamma-baa6a1cf7979c095c1081daa2a2d1134c76d2f1b.tar.gz
libgamma-baa6a1cf7979c095c1081daa2a2d1134c76d2f1b.tar.bz2
libgamma-baa6a1cf7979c095c1081daa2a2d1134c76d2f1b.tar.xz
misc
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libgamma_method_capabilities.c')
-rw-r--r--libgamma_method_capabilities.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libgamma_method_capabilities.c b/libgamma_method_capabilities.c
index 6c44056..226591c 100644
--- a/libgamma_method_capabilities.c
+++ b/libgamma_method_capabilities.c
@@ -13,10 +13,10 @@
* error identifier provided by this library
*/
int
-libgamma_method_capabilities(libgamma_method_capabilities_t *restrict this, size_t size, int method)
+libgamma_method_capabilities(struct libgamma_method_capabilities *restrict this, size_t size, int method)
{
- libgamma_method_capabilities_t caps_;
- void (*func)(libgamma_method_capabilities_t *restrict);
+ struct libgamma_method_capabilities caps_;
+ void (*func)(struct libgamma_method_capabilities *restrict);
memset(this, 0, sizeof(*this));
@@ -45,4 +45,5 @@ libgamma_method_capabilities(libgamma_method_capabilities_t *restrict this, size
}
}
this->crtc_information__old = (int32_t)this->crtc_information;
+ return 0;
}