diff mcabber/mcabber/screen.h @ 2334:6ad3cada768c

Fix multiple declarations issue with vi_mode This fails compilation with GCC 10 or -fno-common in CFLAGS. Link: https://bugs.gentoo.org/707418
author Andrey Utkin <andrey_utkin@gentoo.org>
date Mon, 17 Feb 2020 23:44:03 +0000
parents 69d292ccf196
children ffd0e57e9563
line wrap: on
line diff
--- a/mcabber/mcabber/screen.h	Mon Feb 17 23:40:49 2020 +0000
+++ b/mcabber/mcabber/screen.h	Mon Feb 17 23:44:03 2020 +0000
@@ -16,7 +16,7 @@
 # include <panel.h>
 #endif
 
-gboolean vi_mode;
+extern gboolean vi_mode;
 
 #if defined(WITH_ENCHANT) || defined(WITH_ASPELL)
 void spellcheck_init(void);