summaryrefslogtreecommitdiff
path: root/finch/gntaccount.c
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2022-10-26 02:58:05 -0500
committerElliott Sales de Andrade <quantum.analyst@gmail.com>2022-10-26 02:58:05 -0500
commit8ee0429e6a76216fb0afb8702643f757c6120f45 (patch)
tree57eaf2e1c24624a3ffbe991a9837bee01227b163 /finch/gntaccount.c
parent7cf9e3561136146b8255e44d0db5e8537cf328c2 (diff)
downloadpidgin-8ee0429e6a76216fb0afb8702643f757c6120f45.tar.gz
Remove C99-obsoleted constructs
See [this development thread for a future Fedora change](https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/CJXKTLXJUPZ4F2C2VQOTNMEA5JAUPMBD/) or [the proposed change page](https://fedoraproject.org/wiki/Changes/PortingToModernC). These may be made stronger errors in GCC 14. Testing Done: Configured with `-Dc_args='-Werror=implicit-int -Werror=implicit-function-declaration -Werror=int-conversion -Werror=strict-prototypes -Werror=old-style-definition'` and compiled. Reviewed at https://reviews.imfreedom.org/r/1974/
Diffstat (limited to 'finch/gntaccount.c')
-rw-r--r--finch/gntaccount.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/finch/gntaccount.c b/finch/gntaccount.c
index fd2ae3db80..5a40074bd2 100644
--- a/finch/gntaccount.c
+++ b/finch/gntaccount.c
@@ -781,7 +781,8 @@ reset_accounts_win(GntWidget *widget, gpointer null)
accounts.tree = NULL;
}
-void finch_accounts_show_all()
+void
+finch_accounts_show_all(void)
{
PurpleAccountManager *manager = NULL;
GList *iter;
@@ -889,7 +890,8 @@ account_abled_cb(PurpleAccount *account, gpointer user_data)
GPOINTER_TO_INT(user_data));
}
-void finch_accounts_init()
+void
+finch_accounts_init(void)
{
PurpleAccountManager *manager = NULL;
gpointer account_handle = NULL;
@@ -923,7 +925,8 @@ void finch_accounts_init()
}
}
-void finch_accounts_uninit()
+void
+finch_accounts_uninit(void)
{
if (accounts.window)
gnt_widget_destroy(accounts.window);