diff options
author | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2022-10-26 02:58:05 -0500 |
---|---|---|
committer | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2022-10-26 02:58:05 -0500 |
commit | 8ee0429e6a76216fb0afb8702643f757c6120f45 (patch) | |
tree | 57eaf2e1c24624a3ffbe991a9837bee01227b163 /finch/gntxfer.c | |
parent | 7cf9e3561136146b8255e44d0db5e8537cf328c2 (diff) | |
download | pidgin-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/gntxfer.c')
-rw-r--r-- | finch/gntxfer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/finch/gntxfer.c b/finch/gntxfer.c index 31156d09de..b640f70ad2 100644 --- a/finch/gntxfer.c +++ b/finch/gntxfer.c @@ -254,7 +254,7 @@ finch_xfer_dialog_new(void) } void -finch_xfer_dialog_destroy() +finch_xfer_dialog_destroy(void) { gnt_widget_destroy(xfer_dialog->window); g_free(xfer_dialog); @@ -262,7 +262,7 @@ finch_xfer_dialog_destroy() } void -finch_xfer_dialog_show() +finch_xfer_dialog_show(void) { if (xfer_dialog == NULL) finch_xfer_dialog_new(); |