--- a/libpurple/protocols/jabber/auth.c Thu Oct 06 23:56:19 2022 -0500 +++ b/libpurple/protocols/jabber/auth.c Fri Oct 07 01:21:28 2022 -0500 @@ -497,16 +497,11 @@ return 0; } -void jabber_auth_add_mech(JabberSaslMech *mech) -{ +static void +jabber_auth_add_mech(JabberSaslMech *mech) { auth_mechs = g_slist_insert_sorted(auth_mechs, mech, compare_mech); } -void jabber_auth_remove_mech(JabberSaslMech *mech) -{ - auth_mechs = g_slist_remove(auth_mechs, mech); -} - void jabber_auth_init(void) { JabberSaslMech **tmp;