summaryrefslogtreecommitdiffstats
path: root/src/color.c
diff options
context:
space:
mode:
authorMike Sharov <msharov@users.sourceforge.net>2020-07-13 12:54:17 -0400
committerMike Sharov <msharov@users.sourceforge.net>2020-07-13 12:54:17 -0400
commitb25edf0852fb57fa9629ce79ed4e8079e80d6568 (patch)
treea6ad0eb13df303122b72516c76912f20fa9cee80 /src/color.c
parent5848edb8c00c661b9e77c0bc5eec2cf02925cf37 (diff)
Mark array declarations extern to work with gcc 10 -fno-common
Diffstat (limited to 'src/color.c')
-rw-r--r--src/color.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/color.c b/src/color.c
index 34ef24d..91632d2 100644
--- a/src/color.c
+++ b/src/color.c
@@ -60,6 +60,8 @@
#include "conf.h"
#include "cmds.h"
+struct ucolor ucolors[N_INIT_PAIRS] = {};
+
static struct dictionary * d_colors_param = NULL;
struct dictionary * get_d_colors_param() {