diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2020-06-04 13:16:27 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2020-06-04 13:16:27 +0200 |
commit | 511c4d3abd072fd71b21f558aaa1c6ec68ca3a46 (patch) | |
tree | 512197b395fdb682ddee7f6bf4625e18722490c2 /src/color.h | |
parent | 5272a688ef7e6923ae5ee62ca150f75e47d16e57 (diff) | |
download | AsciiMap-511c4d3abd072fd71b21f558aaa1c6ec68ca3a46.tar.gz |
Fixed linker error with GCC
set public constants to extern
Diffstat (limited to 'src/color.h')
-rw-r--r-- | src/color.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |