diff options
author | Mike Sharov <msharov@users.sourceforge.net> | 2020-07-13 12:54:17 -0400 |
---|---|---|
committer | Mike Sharov <msharov@users.sourceforge.net> | 2020-07-13 12:54:17 -0400 |
commit | b25edf0852fb57fa9629ce79ed4e8079e80d6568 (patch) | |
tree | a6ad0eb13df303122b72516c76912f20fa9cee80 /src/cmds_command.c | |
parent | 5848edb8c00c661b9e77c0bc5eec2cf02925cf37 (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.c | 2 |
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 */ |