summaryrefslogtreecommitdiff
path: root/libpurple/accounts.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 /libpurple/accounts.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 'libpurple/accounts.c')
-rw-r--r--libpurple/accounts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpurple/accounts.c b/libpurple/accounts.c
index d610ccbdd7..09a0c203f8 100644
--- a/libpurple/accounts.c
+++ b/libpurple/accounts.c
@@ -574,7 +574,7 @@ purple_accounts_restore_current_status(PurpleAccount *account,
}
void
-purple_accounts_restore_current_statuses() {
+purple_accounts_restore_current_statuses(void) {
PurpleAccountManager *manager = NULL;
/* If we're not connected to the Internet right now, we bail on this */