Mercurial > pidgin
diff src/protocols/jabber/chat.c @ 12323:fc464a0abccc
[gaim-migrate @ 14627]
Function prototypes need to be of the form foo(void); instead of foo(); for function that don't take any arguments. This allows the compiler to detect mistakes were someone passes arguments to such a function.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 04 Dec 2005 18:19:56 +0000 |
parents | 1e756e251dc3 |
children | b0d020a66144 |
line wrap: on
line diff
--- a/src/protocols/jabber/chat.c Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/jabber/chat.c Sun Dec 04 18:19:56 2005 +0000 @@ -113,7 +113,7 @@ JabberChat *chat; }; -void find_by_id_foreach_cb(gpointer key, gpointer value, gpointer user_data) +static void find_by_id_foreach_cb(gpointer key, gpointer value, gpointer user_data) { JabberChat *chat = value; struct _find_by_id_data *fbid = user_data;