nvim: Correctly setup global channels

As gcc10 uses -fno-common by default, global variables declared with the
same name more than once is not allowed anymore revealing this issue.

We need to define it as extern to access it.

See also https://bugzilla.redhat.com/show_bug.cgi?id=1799680
This commit is contained in:
Andreas Schneider
2020-02-17 17:29:12 +01:00
parent 517bf15603
commit 823b2104c3
3 changed files with 2 additions and 2 deletions

View File

@@ -10,6 +10,7 @@
#include <msgpack.h>
#include "nvim/ascii.h"
#include "nvim/channel.h"
#include "nvim/vim.h"
#include "nvim/main.h"
#include "nvim/aucmd.h"