diff options
author | Mattias Andrée <maandree@kth.se> | 2021-03-05 00:43:38 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-03-05 00:43:38 +0100 |
commit | 0ce0d8d6e0c420ccafa79e0203b928c3559a4311 (patch) | |
tree | 88e8228a93691c28811a49898abf86a96dd9d613 /gamma-x-vidmode.h | |
parent | Change license + change style + misc (diff) | |
download | libgamma-0ce0d8d6e0c420ccafa79e0203b928c3559a4311.tar.gz libgamma-0ce0d8d6e0c420ccafa79e0203b928c3559a4311.tar.bz2 libgamma-0ce0d8d6e0c420ccafa79e0203b928c3559a4311.tar.xz |
Split source files, merge public header files, eliminite use gpp, rewrite makefile
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | gamma-x-vidmode.h (renamed from src/lib/gamma-x-vidmode.h) | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/lib/gamma-x-vidmode.h b/gamma-x-vidmode.h index 618d5c4..8a95442 100644 --- a/src/lib/gamma-x-vidmode.h +++ b/gamma-x-vidmode.h @@ -2,13 +2,6 @@ #ifndef LIBGAMMA_GAMMA_X_VIDMODE_H #define LIBGAMMA_GAMMA_X_VIDMODE_H -#ifndef HAVE_LIBGAMMA_METHOD_X_VIDMODE -# error Including gamma-x-vidmode.h without HAVE_LIBGAMMA_METHOD_X_VIDMODE -#endif - - -#include "libgamma-method.h" - /** * Return the capabilities of the adjustment method @@ -65,7 +58,7 @@ int libgamma_x_vidmode_partition_initialise(libgamma_partition_state_t *restrict * * @param this The partition state */ -void libgamma_x_vidmode_partition_destroy(libgamma_partition_state_t *restrict) __attribute__((const)); +void libgamma_x_vidmode_partition_destroy(libgamma_partition_state_t *restrict); /** * Restore the gamma ramps all CRTC:s with a partition to the system settings @@ -94,7 +87,7 @@ int libgamma_x_vidmode_crtc_initialise(libgamma_crtc_state_t *restrict, libgamma * * @param this The CRTC state */ -void libgamma_x_vidmode_crtc_destroy(libgamma_crtc_state_t *restrict) __attribute__((const)); +void libgamma_x_vidmode_crtc_destroy(libgamma_crtc_state_t *restrict); /** * Restore the gamma ramps for a CRTC to the system settings for that CRTC |