Mercurial > ~mikael > mcabber > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
2333:69d292ccf196 | 2334:6ad3cada768c |
---|---|
14 #else | 14 #else |
15 # include <ncurses.h> | 15 # include <ncurses.h> |
16 # include <panel.h> | 16 # include <panel.h> |
17 #endif | 17 #endif |
18 | 18 |
19 gboolean vi_mode; | 19 extern gboolean vi_mode; |
20 | 20 |
21 #if defined(WITH_ENCHANT) || defined(WITH_ASPELL) | 21 #if defined(WITH_ENCHANT) || defined(WITH_ASPELL) |
22 void spellcheck_init(void); | 22 void spellcheck_init(void); |
23 void spellcheck_deinit(void); | 23 void spellcheck_deinit(void); |
24 //static void spellcheck(char*, char*); | 24 //static void spellcheck(char*, char*); |