aboutsummaryrefslogtreecommitdiffstats
path: root/src/colorramp.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-03-05 16:38:44 +0100
committerMattias Andrée <m@maandree.se>2025-03-05 16:38:44 +0100
commit844a48da2d670be95a62a582aab73ad8145040e2 (patch)
tree1c20cd1646706d6af03bce48822568c5602a8616 /src/colorramp.c
parentUse colour temperature table from libred (diff)
downloadredshift-ng-844a48da2d670be95a62a582aab73ad8145040e2.tar.gz
redshift-ng-844a48da2d670be95a62a582aab73ad8145040e2.tar.bz2
redshift-ng-844a48da2d670be95a62a582aab73ad8145040e2.tar.xz
Unify header files (so far most)
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'src/colorramp.c')
-rw-r--r--src/colorramp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/colorramp.c b/src/colorramp.c
index 2c94477..a9db111 100644
--- a/src/colorramp.c
+++ b/src/colorramp.c
@@ -19,12 +19,10 @@
Copyright (c) 2016, 2025 Mattias Andrée <m@maandree.se>
*/
-#include <stdint.h>
#include <math.h>
#include <libred.h>
-#include "colorramp.h"
-#include "redshift.h"
+#include "common.h"
/* Helper macro used in the fill functions */
#define F(Y, WP, C) pow((Y) * setting->brightness * (WP), 1.0/setting->gamma[C])