fix: add missing parameter types to function declarations

Some functions were declared without parameters in header files,
despite their implementations specifying arguments. This mismatch
is deprecated in all versions of C and is disallowed in C23.

This change updates the declarations to match their definitions,
ensuring compatibility with C standards, avoiding potential
undefined behavior, and improving support in tools and editors.
This commit is contained in:
2025-06-25 00:13:42 +02:00
parent bfd7064a40
commit 57d79ecf9c

View File

@@ -12,7 +12,7 @@
#include "xmpp/xmpp.h"
void bookmark_ignore_on_connect();
void bookmark_ignore_on_connect(const char* const barejid);
void bookmark_ignore_on_disconnect();
gboolean bookmark_ignored(Bookmark* bookmark);
gchar** bookmark_ignore_list(gsize* len);