[Patch] fix build error on Buster



Hi all,

the current master fails to build on Debian Buster:

spell-check.c:138:32: error: redundant redeclaration of ‘balsa_spell_check_init’ [-Werror=redundant-decls]
spell-check.c:138:32: error: redundant redeclaration of ‘balsa_spell_check_class_init’ 
[-Werror=redundant-decls]

A trivial fix is attached.

Best,
Albrecht.
diff --git a/src/spell-check.c b/src/spell-check.c
index 037099cf8..43906e298 100644
--- a/src/spell-check.c
+++ b/src/spell-check.c
@@ -93,8 +93,6 @@ enum {
 
 
 /* initialization stuff */
-static void balsa_spell_check_class_init(BalsaSpellCheckClass *);
-static void balsa_spell_check_init(BalsaSpellCheck *);
 static void spch_set_property(GObject * object, guint prop_id,
                               const GValue * value, GParamSpec * pspec);
 static void spch_get_property(GObject * object, guint prop_id,

Attachment: pgpwjEbxe23RT.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]