Mercurial > pidgin
comparison src/protocols/irc/irc.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 | 4d3119205a33 |
children | 3169cd6727ad |
comparison
equal
deleted
inserted
replaced
12322:c7ae1fd0827d | 12323:fc464a0abccc |
---|---|
208 m = g_list_append(m, pce); | 208 m = g_list_append(m, pce); |
209 | 209 |
210 return m; | 210 return m; |
211 } | 211 } |
212 | 212 |
213 GHashTable *irc_chat_info_defaults(GaimConnection *gc, const char *chat_name) | 213 static GHashTable *irc_chat_info_defaults(GaimConnection *gc, const char *chat_name) |
214 { | 214 { |
215 GHashTable *defaults; | 215 GHashTable *defaults; |
216 | 216 |
217 defaults = g_hash_table_new_full(g_str_hash, g_str_equal, NULL, g_free); | 217 defaults = g_hash_table_new_full(g_str_hash, g_str_equal, NULL, g_free); |
218 | 218 |