aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-02-22 14:22:08 +0100
committerMattias Andrée <m@maandree.se>2026-02-22 14:22:08 +0100
commit5d0d0e7d2f65f23b5eb3105a9163d403d239915d (patch)
tree1d743d74ccb5a9f32d14321befc29292b06dc8ae
parentFix makefile (diff)
downloadlibcolour-5d0d0e7d2f65f23b5eb3105a9163d403d239915d.tar.gz
libcolour-5d0d0e7d2f65f23b5eb3105a9163d403d239915d.tar.bz2
libcolour-5d0d0e7d2f65f23b5eb3105a9163d403d239915d.tar.xz
m fixesHEADmaster
Signed-off-by: Mattias Andrée <m@maandree.se>
-rw-r--r--LIBCOLOUR_CIE1960UCS.74
-rw-r--r--LIBCOLOUR_CIELAB.74
-rw-r--r--LIBCOLOUR_CIELCHUV.74
-rw-r--r--LIBCOLOUR_CIELUV.74
-rw-r--r--LIBCOLOUR_CIEUVW.74
-rw-r--r--LIBCOLOUR_CIEXYY.76
-rw-r--r--LIBCOLOUR_CIEXYZ.74
-rw-r--r--LIBCOLOUR_RGB.76
-rw-r--r--LIBCOLOUR_SRGB.76
-rw-r--r--LIBCOLOUR_YCGCO.74
-rw-r--r--LIBCOLOUR_YDBDR.74
-rw-r--r--LIBCOLOUR_YES.74
-rw-r--r--LIBCOLOUR_YIQ.74
-rw-r--r--LIBCOLOUR_YPBPR.74
-rw-r--r--LIBCOLOUR_YUV.74
-rw-r--r--README10
-rw-r--r--config.mk4
-rw-r--r--libcolour.712
-rw-r--r--libcolour_convert.36
-rw-r--r--libcolour_convert_en_masse.38
-rw-r--r--libcolour_delta_e.32
-rw-r--r--libcolour_get_rgb_colour_space.32
-rw-r--r--libcolour_marshal.32
-rw-r--r--libcolour_proper.32
-rw-r--r--libcolour_srgb_decode.32
-rw-r--r--libcolour_srgb_encode.32
-rw-r--r--libcolour_unmarshal.32
-rw-r--r--long-double.c2
28 files changed, 61 insertions, 61 deletions
diff --git a/LIBCOLOUR_CIE1960UCS.7 b/LIBCOLOUR_CIE1960UCS.7
index 2cad48e..4f94087 100644
--- a/LIBCOLOUR_CIE1960UCS.7
+++ b/LIBCOLOUR_CIE1960UCS.7
@@ -1,4 +1,4 @@
-.TH LIBCOLOUR_CIE1960UCS 7 libcolour
+.TH LIBCOLOUR_CIE1960UCS 7 LIBCOLOUR
.SH NAME
LIBCOLOUR_CIE1960UCS - CIE 1960 UCS
.SH DESCRIPTION
@@ -18,7 +18,7 @@ use
.BR double ,
and
.BR long\ double ,
-respecitively, for the values stored in them,
+respectively, for the values stored in them,
and are otherwise identical.
.B struct libcolour_cie1960ucs_f
is defined as
diff --git a/LIBCOLOUR_CIELAB.7 b/LIBCOLOUR_CIELAB.7
index 6bb06e2..f195252 100644
--- a/LIBCOLOUR_CIELAB.7
+++ b/LIBCOLOUR_CIELAB.7
@@ -1,4 +1,4 @@
-.TH LIBCOLOUR_CIELAB 7 libcolour
+.TH LIBCOLOUR_CIELAB 7 LIBCOLOUR
.SH NAME
LIBCOLOUR_CIELAB - CIE L*a*b*
.SH DESCRIPTION
@@ -18,7 +18,7 @@ use
.BR double ,
and
.BR long\ double ,
-respecitively, for the values stored in them,
+respectively, for the values stored in them,
and are otherwise identical.
.B struct libcolour_cielab_f
is defined as
diff --git a/LIBCOLOUR_CIELCHUV.7 b/LIBCOLOUR_CIELCHUV.7
index 3906542..1efe03b 100644
--- a/LIBCOLOUR_CIELCHUV.7
+++ b/LIBCOLOUR_CIELCHUV.7
@@ -1,4 +1,4 @@
-.TH LIBCOLOUR_CIELCHUV 7 libcolour
+.TH LIBCOLOUR_CIELCHUV 7 LIBCOLOUR
.SH NAME
LIBCOLOUR_CIELCHUV - CIE LChuv
.SH DESCRIPTION
@@ -19,7 +19,7 @@ use
.BR double ,
and
.BR long\ double ,
-respecitively, for the values stored in them,
+respectively, for the values stored in them,
and are otherwise identical.
.B struct libcolour_cielchuv_f
is defined as
diff --git a/LIBCOLOUR_CIELUV.7 b/LIBCOLOUR_CIELUV.7
index 664875e..b0f7ca1 100644
--- a/LIBCOLOUR_CIELUV.7
+++ b/LIBCOLOUR_CIELUV.7
@@ -1,4 +1,4 @@
-.TH LIBCOLOUR_CIELUV 7 libcolour
+.TH LIBCOLOUR_CIELUV 7 LIBCOLOUR
.SH NAME
LIBCOLOUR_CIELUV - CIE 1976 (L*, u*, v*)
.SH DESCRIPTION
@@ -18,7 +18,7 @@ use
.BR double ,
and
.BR long\ double ,
-respecitively, for the values stored in them,
+respectively, for the values stored in them,
and are otherwise identical.
.B struct libcolour_cieluv_f
is defined as
diff --git a/LIBCOLOUR_CIEUVW.7 b/LIBCOLOUR_CIEUVW.7
index 7592864..2b448cf 100644
--- a/LIBCOLOUR_CIEUVW.7
+++ b/LIBCOLOUR_CIEUVW.7
@@ -1,4 +1,4 @@
-.TH LIBCOLOUR_CIEUVW 7 libcolour
+.TH LIBCOLOUR_CIEUVW 7 LIBCOLOUR
.SH NAME
LIBCOLOUR_CIEUVW - CIE 1964 (U*, V*, W*)
.SH DESCRIPTION
@@ -18,7 +18,7 @@ use
.BR double ,
and
.BR long\ double ,
-respecitively, for the values stored in them,
+respectively, for the values stored in them,
and are otherwise identical.
.B struct libcolour_cieuvw_f
is defined as
diff --git a/LIBCOLOUR_CIEXYY.7 b/LIBCOLOUR_CIEXYY.7
index 1a70d26..1ea3d4e 100644
--- a/LIBCOLOUR_CIEXYY.7
+++ b/LIBCOLOUR_CIEXYY.7
@@ -1,4 +1,4 @@
-.TH LIBCOLOUR_CIEXYY 7 libcolour
+.TH LIBCOLOUR_CIEXYY 7 LIBCOLOUR
.SH NAME
LIBCOLOUR_CIEXYY - CIE xyY
.SH DESCRIPTION
@@ -17,7 +17,7 @@ use
.BR double ,
and
.BR long\ double ,
-respecitively, for the values stored in them,
+respectively, for the values stored in them,
and are otherwise identical.
.B struct libcolour_ciexyy_f
is defined as
@@ -48,7 +48,7 @@ and
.I .Y
hold the unscaled x, y, and Y values, respectively.
.P
-CIE xyY is not additive, nor is it linearily
+CIE xyY is not additive, nor is it linearly
isomorphic to CIE 1931 XYZ. Rather, it is defined by
x = X/(X + Y + Z), y = Y/(X + Y + Z), where X, Y, and
Z are the CIE 1931 XYZ values (with the same names)
diff --git a/LIBCOLOUR_CIEXYZ.7 b/LIBCOLOUR_CIEXYZ.7
index 91d42d3..88cdceb 100644
--- a/LIBCOLOUR_CIEXYZ.7
+++ b/LIBCOLOUR_CIEXYZ.7
@@ -1,4 +1,4 @@
-.TH LIBCOLOUR_CIEXYZ 7 libcolour
+.TH LIBCOLOUR_CIEXYZ 7 LIBCOLOUR
.SH NAME
LIBCOLOUR_CIEXYZ - CIE 1931 XYZ
.SH DESCRIPTION
@@ -18,7 +18,7 @@ use
.BR double ,
and
.BR long\ double ,
-respecitively, for the values stored in them,
+respectively, for the values stored in them,
and are otherwise identical.
.B struct libcolour_ciexyz_f
is defined as
diff --git a/LIBCOLOUR_RGB.7 b/LIBCOLOUR_RGB.7
index 892ecb8..0c2d76c 100644
--- a/LIBCOLOUR_RGB.7
+++ b/LIBCOLOUR_RGB.7
@@ -1,4 +1,4 @@
-.TH LIBCOLOUR_RGB 7 libcolour
+.TH LIBCOLOUR_RGB 7 LIBCOLOUR
.SH NAME
LIBCOLOUR_RGB - Generic RGB
.SH DESCRIPTION
@@ -17,7 +17,7 @@ use
.BR double ,
and
.BR long\ double ,
-respecitively, for the values stored in them,
+respectively, for the values stored in them,
and are otherwise identical.
.B struct libcolour_rgb_f
is defined as
@@ -169,7 +169,7 @@ is used to set the transfer function and colour space
parameters.
.P
The RGB colour model is an additive colour model, that is,
-without a transfer function applied, linearily isomorphic
+without a transfer function applied, linearly isomorphic
to CIE 1931 XYZ.
.P
The call
diff --git a/LIBCOLOUR_SRGB.7 b/LIBCOLOUR_SRGB.7
index 59d9fbc..cbe9355 100644
--- a/LIBCOLOUR_SRGB.7
+++ b/LIBCOLOUR_SRGB.7
@@ -1,4 +1,4 @@
-.TH LIBCOLOUR_SRGB 7 libcolour
+.TH LIBCOLOUR_SRGB 7 LIBCOLOUR
.SH NAME
LIBCOLOUR_SRGB - Standard RGB
.SH DESCRIPTION
@@ -17,7 +17,7 @@ use
.BR double ,
and
.BR long\ double ,
-respecitively, for the values stored in them,
+respectively, for the values stored in them,
and are otherwise identical.
.B struct libcolour_srgb_f
is defined as
@@ -57,7 +57,7 @@ otherwise, meaning colours are linearly encoded.
.P
The RGB colour model, of which sRGB is a specific colour
space, is an additive colour model, that is, without a
-transfer function applied, linearily isomorphic to
+transfer function applied, linearly isomorphic to
CIE 1931 XYZ.
.P
This is the colour model and colour space normally
diff --git a/LIBCOLOUR_YCGCO.7 b/LIBCOLOUR_YCGCO.7
index 02c0805..7936524 100644
--- a/LIBCOLOUR_YCGCO.7
+++ b/LIBCOLOUR_YCGCO.7
@@ -1,4 +1,4 @@
-.TH LIBCOLOUR_YCGCO 7 libcolour
+.TH LIBCOLOUR_YCGCO 7 LIBCOLOUR
.SH NAME
LIBCOLOUR_YCGCO - YCgCo (YCoCg)
.SH DESCRIPTION
@@ -18,7 +18,7 @@ use
.BR double ,
and
.BR long\ double ,
-respecitively, for the values stored in them,
+respectively, for the values stored in them,
and are otherwise identical.
.B struct libcolour_ycgco_f
is defined as
diff --git a/LIBCOLOUR_YDBDR.7 b/LIBCOLOUR_YDBDR.7
index cbcb62d..3ef9198 100644
--- a/LIBCOLOUR_YDBDR.7
+++ b/LIBCOLOUR_YDBDR.7
@@ -1,4 +1,4 @@
-.TH LIBCOLOUR_YDBDR 7 libcolour
+.TH LIBCOLOUR_YDBDR 7 LIBCOLOUR
.SH NAME
LIBCOLOUR_YDBDR - YDbDr
.SH DESCRIPTION
@@ -17,7 +17,7 @@ use
.BR double ,
and
.BR long\ double ,
-respecitively, for the values stored in them,
+respectively, for the values stored in them,
and are otherwise identical.
.B struct libcolour_ydbdr_f
is defined as
diff --git a/LIBCOLOUR_YES.7 b/LIBCOLOUR_YES.7
index 1452609..1229fe1 100644
--- a/LIBCOLOUR_YES.7
+++ b/LIBCOLOUR_YES.7
@@ -1,4 +1,4 @@
-.TH LIBCOLOUR_YES 7 libcolour
+.TH LIBCOLOUR_YES 7 LIBCOLOUR
.SH NAME
LIBCOLOUR_YES - YES
.SH DESCRIPTION
@@ -17,7 +17,7 @@ use
.BR double ,
and
.BR long\ double ,
-respecitively, for the values stored in them,
+respectively, for the values stored in them,
and are otherwise identical.
.B struct libcolour_yes_f
is defined as
diff --git a/LIBCOLOUR_YIQ.7 b/LIBCOLOUR_YIQ.7
index 414a1d1..3540680 100644
--- a/LIBCOLOUR_YIQ.7
+++ b/LIBCOLOUR_YIQ.7
@@ -1,4 +1,4 @@
-.TH LIBCOLOUR_YIQ 7 libcolour
+.TH LIBCOLOUR_YIQ 7 LIBCOLOUR
.SH NAME
LIBCOLOUR_YIQ - YIQ
.SH DESCRIPTION
@@ -17,7 +17,7 @@ use
.BR double ,
and
.BR long\ double ,
-respecitively, for the values stored in them,
+respectively, for the values stored in them,
and are otherwise identical.
.B struct libcolour_yiq_f
is defined as
diff --git a/LIBCOLOUR_YPBPR.7 b/LIBCOLOUR_YPBPR.7
index 5a6c47d..d38d955 100644
--- a/LIBCOLOUR_YPBPR.7
+++ b/LIBCOLOUR_YPBPR.7
@@ -1,4 +1,4 @@
-.TH LIBCOLOUR_YPBPR 7 libcolour
+.TH LIBCOLOUR_YPBPR 7 LIBCOLOUR
.SH NAME
LIBCOLOUR_YPBPR - YPbPr
.SH DESCRIPTION
@@ -18,7 +18,7 @@ use
.BR double ,
and
.BR long\ double ,
-respecitively, for the values stored in them,
+respectively, for the values stored in them,
and are otherwise identical.
.B struct libcolour_ypbpr_f
is defined as
diff --git a/LIBCOLOUR_YUV.7 b/LIBCOLOUR_YUV.7
index ce9e1db..98c225a 100644
--- a/LIBCOLOUR_YUV.7
+++ b/LIBCOLOUR_YUV.7
@@ -1,4 +1,4 @@
-.TH LIBCOLOUR_YUV 7 libcolour
+.TH LIBCOLOUR_YUV 7 LIBCOLOUR
.SH NAME
LIBCOLOUR_YUV - YUV
.SH DESCRIPTION
@@ -17,7 +17,7 @@ use
.BR double ,
and
.BR long\ double ,
-respecitively, for the values stored in them,
+respectively, for the values stored in them,
and are otherwise identical.
.B struct libcolour_yuv_f
is defined as
diff --git a/README b/README
index c608494..ac65e3e 100644
--- a/README
+++ b/README
@@ -5,8 +5,8 @@ DESCRIPTION
libcolour is C library for colour space conversions.
libcolour provides conversion between a large number of colour
spaces, including many different RGB colour spaces. It also
- supports encode and non-encoded representations. libcolour
- futhermore provides access to custom RGB colour spaces.
+ supports encoded and non-encoded representations. libcolour
+ furthermore provides access to custom RGB colour spaces.
To use libcolour, include the header file <libcolour.h> and
link with -lcolour -lm.
@@ -17,7 +17,7 @@ COLOUR MODELS
typedef enum libcolour_model libcolour_model_t;
- The colour models can listed using the macros
+ The colour models can be listed using the macros
LIBCOLOUR_LIST_MODELS(IMACRO, TYPE_AFFIX)
@@ -27,7 +27,7 @@ COLOUR MODELS
where MACRO is the macro that shall be expanded, and
TYPE_AFFIX shall be f, lf, or llf for float-typed,
- double-typed, and long double-typed colour module stuctures,
+ double-typed, and long double-typed colour module structures,
respectively. LIBCOLOUR_LIST_MODELS expands MACRO with three
parameters: enum libcolour_model value of the colour model,
typedef-name of struct used to store colours of the colour
@@ -38,7 +38,7 @@ COLOUR MODELS
except allows the programmer to specify additional parameters
to pass MACRO when it is expanded.
- There there are three structs defined for each colour model,
+ There are three structs defined for each colour model,
the first member in each struct is
enum libcolour_model model;
diff --git a/config.mk b/config.mk
index 20b6a2e..492a393 100644
--- a/config.mk
+++ b/config.mk
@@ -1,8 +1,8 @@
PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man
-CC = cc
+CC = cc -std=c11
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE
-CFLAGS = -std=c11 -Wall -pedantic -O2
+CFLAGS = -Wall -pedantic -O2
LDFLAGS = -lm -s
diff --git a/libcolour.7 b/libcolour.7
index d389aae..1c3dec2 100644
--- a/libcolour.7
+++ b/libcolour.7
@@ -1,4 +1,4 @@
-.TH LIBCOLOUR 7 libcolour
+.TH LIBCOLOUR 7 LIBCOLOUR
.SH NAME
libcolour - A C colour space library
.SH DESCRIPTION
@@ -7,8 +7,8 @@ is C library for colour space conversions.
.B libcolour
provides conversion between a large number of colour
spaces, including many different RGB colour spaces.
-It also supports encode and non-encoded representations.
-libcolour futhermore provides access to custom RGB
+It also supports encoded and non-encoded representations.
+libcolour furthermore provides access to custom RGB
colour spaces.
.P
To use libcolour, include the header file
@@ -25,7 +25,7 @@ is specified with a value of
\fBtypedef enum libcolour_model libcolour_model_t;\fP
.fi
-The colour models can listed using the macros
+The colour models can be listed using the macros
.nf
\fBLIBCOLOUR_LIST_MODELS\fP(\fIMACRO\fP, \fITYPE_AFFIX\fP)
@@ -51,7 +51,7 @@ for
.BR double -typed,
and
.BR long\ double -typed
-colour module stuctures, respectively.
+colour module structures, respectively.
.B LIBCOLOUR_LIST_MODELS
expands
.I MACRO
@@ -76,7 +76,7 @@ parameters to pass
.I MACRO
when it is expanded.
.P
-There there are three
+There are three
.BR struct s
defined for each colour model, the first member
in each
diff --git a/libcolour_convert.3 b/libcolour_convert.3
index d9c6042..fb97a57 100644
--- a/libcolour_convert.3
+++ b/libcolour_convert.3
@@ -1,4 +1,4 @@
-.TH LIBCOLOUR_CONVERT 3 libcolour
+.TH LIBCOLOUR_CONVERT 3 LIBCOLOUR
.SH NAME
libcolour_convert - Colour space and colour model conversion
.SH SYNOPSIS
@@ -28,7 +28,7 @@ to the colour space specified in
.I to
and stores the new colour values in
.IR to .
-Additionally, the the transfer function is applied
+Additionally, the transfer function is applied
or unapplied if specified differently in
.I from
and
@@ -55,7 +55,7 @@ and
.I from
and
.I to
-most use the same floating-point type.
+must use the same floating-point type.
.SH SEE ALSO
.BR libcolour (7),
.BR libcolour_convert_en_masse (3)
diff --git a/libcolour_convert_en_masse.3 b/libcolour_convert_en_masse.3
index 0c8f037..b35ce37 100644
--- a/libcolour_convert_en_masse.3
+++ b/libcolour_convert_en_masse.3
@@ -1,4 +1,4 @@
-.TH LIBCOLOUR_CONVERT_EN_MASSE 3 libcolour
+.TH LIBCOLOUR_CONVERT_EN_MASSE 3 LIBCOLOUR
.SH NAME
libcolour_convert_en_masse - Colour space and colour model conversion for many colours
.SH SYNOPSIS
@@ -44,11 +44,11 @@ be the
the any, or none, of the following values:
.TP
.B LIBCOLOUR_CONVERT_EN_MASSE_ON_CPU
-Perform convertion on CPU rather than on GPU.
+Perform conversion on CPU rather than on GPU.
.TP
.B LIBCOLOUR_CONVERT_EN_MASSE_NO_OVERRIDE
Output parameters are listed after input parameters,
-rather than using the input parametrs as the
+rather than using the input parameters as the
output parameters. These will have the same type
as the input parameters.
.P
@@ -136,7 +136,7 @@ and
.I from
and
.I to
-most use the same floating-point type.
+must use the same floating-point type.
.P
GPU acceleration is currently not implemented.
.SH SEE ALSO
diff --git a/libcolour_delta_e.3 b/libcolour_delta_e.3
index 7210bd8..639cf70 100644
--- a/libcolour_delta_e.3
+++ b/libcolour_delta_e.3
@@ -1,4 +1,4 @@
-.TH LIBCOLOUR_DELTA_E 3 libcolour
+.TH LIBCOLOUR_DELTA_E 3 LIBCOLOUR
.SH NAME
libcolour_delta_e - Calculate the delta E*_ab distance
.SH SYNOPSIS
diff --git a/libcolour_get_rgb_colour_space.3 b/libcolour_get_rgb_colour_space.3
index 475c27c..faa3db9 100644
--- a/libcolour_get_rgb_colour_space.3
+++ b/libcolour_get_rgb_colour_space.3
@@ -1,4 +1,4 @@
-.TH LIBCOLOUR_GET_RGB_COLOUR_SPACE 3 libcolour
+.TH LIBCOLOUR_GET_RGB_COLOUR_SPACE 3 LIBCOLOUR
.SH NAME
libcolour_get_rgb_colour_space - Select RGB colour space
.SH SYNOPSIS
diff --git a/libcolour_marshal.3 b/libcolour_marshal.3
index 85d5b1d..9a6586e 100644
--- a/libcolour_marshal.3
+++ b/libcolour_marshal.3
@@ -1,4 +1,4 @@
-.TH LIBCOLOUR_MARSHAL 3 libcolour
+.TH LIBCOLOUR_MARSHAL 3 LIBCOLOUR
.SH NAME
libcolour_marshal - Marshal a colour record
.SH SYNOPSIS
diff --git a/libcolour_proper.3 b/libcolour_proper.3
index 4cba257..8898a30 100644
--- a/libcolour_proper.3
+++ b/libcolour_proper.3
@@ -1,4 +1,4 @@
-.TH LIBCOLOUR_PROPER 3 libcolour
+.TH LIBCOLOUR_PROPER 3 LIBCOLOUR
.SH NAME
libcolour_proper - Set any member that is set incorrectly
.SH SYNOPSIS
diff --git a/libcolour_srgb_decode.3 b/libcolour_srgb_decode.3
index 3522918..151ecef 100644
--- a/libcolour_srgb_decode.3
+++ b/libcolour_srgb_decode.3
@@ -1,4 +1,4 @@
-.TH LIBCOLOUR_SRGB_DECODE 3 libcolour
+.TH LIBCOLOUR_SRGB_DECODE 3 LIBCOLOUR
.SH NAME
libcolour_srgb_decode - Unapply the sRGB transfer function
.SH SYNOPSIS
diff --git a/libcolour_srgb_encode.3 b/libcolour_srgb_encode.3
index 045ddfd..2686431 100644
--- a/libcolour_srgb_encode.3
+++ b/libcolour_srgb_encode.3
@@ -1,4 +1,4 @@
-.TH LIBCOLOUR_SRGB_ENCODE 3 libcolour
+.TH LIBCOLOUR_SRGB_ENCODE 3 LIBCOLOUR
.SH NAME
libcolour_srgb_encode - Apply the sRGB transfer function
.SH SYNOPSIS
diff --git a/libcolour_unmarshal.3 b/libcolour_unmarshal.3
index 090c382..a41d47e 100644
--- a/libcolour_unmarshal.3
+++ b/libcolour_unmarshal.3
@@ -1,4 +1,4 @@
-.TH LIBCOLOUR_UNMARSHAL 3 libcolour
+.TH LIBCOLOUR_UNMARSHAL 3 LIBCOLOUR
.SH NAME
libcolour_unmarshal - Unmarshal a colour record
.SH SYNOPSIS
diff --git a/long-double.c b/long-double.c
index dc46897..d1df30f 100644
--- a/long-double.c
+++ b/long-double.c
@@ -49,7 +49,7 @@
#define LIBCOLOUR_ILLUMINANT_F9 LIBCOLOUR_ILLUMINANT_F9_LLF
#define LIBCOLOUR_ILLUMINANT_F10 LIBCOLOUR_ILLUMINANT_F10_LLF
#define LIBCOLOUR_ILLUMINANT_F11 LIBCOLOUR_ILLUMINANT_F11_LLF
-#define LIBCOLOUR_ILLUMINANT_F12 LIBCOLOUR_ILLUMINANT_F12_LLF0
+#define LIBCOLOUR_ILLUMINANT_F12 LIBCOLOUR_ILLUMINANT_F12_LLF
#define xisinf(X) (isinfl(X))
#define xisnan(X) (isnanl(X))