From 511c4d3abd072fd71b21f558aaa1c6ec68ca3a46 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Thu, 4 Jun 2020 13:16:27 +0200 Subject: Fixed linker error with GCC set public constants to extern --- src/color.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/color.h') diff --git a/src/color.h b/src/color.h index 83d10f7..b832575 100644 --- a/src/color.h +++ b/src/color.h @@ -19,7 +19,7 @@ struct console_color char *no; }; -struct console_color colors[ _COLORS_SIZE ]; +extern struct console_color colors[ _COLORS_SIZE ]; //Calculate luminance //Order LSB first: BGR -- cgit v1.2.3