summaryrefslogtreecommitdiffstats
path: root/src/cmds_command.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/cmds_command.c
parent5848edb8c00c661b9e77c0bc5eec2cf02925cf37 (diff)
Mark array declarations extern to work with gcc 10 -fno-common
Diffstat (limited to 'src/cmds_command.c')
-rw-r--r--src/cmds_command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmds_command.c b/src/cmds_command.c
index 20144c4..8e96798 100644
--- a/src/cmds_command.c
+++ b/src/cmds_command.c
@@ -81,7 +81,7 @@ extern char * rev;
extern struct dictionary * user_conf_d;
wchar_t inputline[BUFFERSIZE];
-wchar_t interp_line[BUFFERSIZE];
+extern wchar_t interp_line[BUFFERSIZE];
int inputline_pos; /**< Position in window. Some chars has 2 chars width */
// see https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms
int real_inputline_pos; /**< Real position in inputline */