Fix old-style warnings all over the codebase

As caught by compiling with `-Wold-style-definition` and `-Wstrict-prototypes`.
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-06-02 20:18:50 +02:00
parent 38abbc5b18
commit 96a7d901c1
20 changed files with 23 additions and 23 deletions

View File

@@ -11,7 +11,7 @@
#include <gtk/gtk.h>
static void
test_protocol_prefix ()
test_protocol_prefix (void)
{
g_assert_cmpstr (get_protocol_from_address ("sip:alice@example.org"), ==, "sip");
g_assert_cmpstr (get_protocol_from_address ("SIP:alice@example.org"), ==, "sip");