Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
12322:c7ae1fd0827d | 12323:fc464a0abccc |
---|---|
111 struct _find_by_id_data { | 111 struct _find_by_id_data { |
112 int id; | 112 int id; |
113 JabberChat *chat; | 113 JabberChat *chat; |
114 }; | 114 }; |
115 | 115 |
116 void find_by_id_foreach_cb(gpointer key, gpointer value, gpointer user_data) | 116 static void find_by_id_foreach_cb(gpointer key, gpointer value, gpointer user_data) |
117 { | 117 { |
118 JabberChat *chat = value; | 118 JabberChat *chat = value; |
119 struct _find_by_id_data *fbid = user_data; | 119 struct _find_by_id_data *fbid = user_data; |
120 | 120 |
121 if(chat->id == fbid->id) | 121 if(chat->id == fbid->id) |