[Patch] fix build error on Buster

Albrecht Dreß <[email protected]> Sat, 29 Jun 2019 14:22:58 +0200
Newsgroups gmane.comp.gnome.apps.balsa
Message-ID <[email protected]>
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.

_______________________________________________
balsa-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/balsa-list
fix-spell-check-build-error.diff (text/x-patch, 515 B)
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,
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEcCEPemLFTtyGf4zATKlvDmfn2fgFAl0XWCIACgkQTKlvDmfn
2fhxwwf+OC6xP/dD2gq/7HLJadm1T+47FHwP4i2N1oIaH225RVqvo1hzYOTEtSqg
9TSiBFNdnmIamnttOz03O44mJCymTFDgyxJPNgUUZYhgeqP1SW6kQXAuu13udWLr
q8zdLILclNicfF22Q2HvnYXSnDnn7GxJXv9V+zVUEVLGDvGiQlsWhoysK2HwAKkG
xYthymaRgnr1G3dcqIC8LLlg/r0L1135U44v29xtjiqtzgbiIvQOsUqBKxAUF3rV
B9ahUAkqU81i4/p1ZTLGduAGaCvOEkDCAOdKIcEDHXDmDtDX94XUbPSpDNp+wgYt
bgv6qp5aP1nOU8gqCLsmlOgtf6KU2w==
=yIXw
-----END PGP SIGNATURE-----