Mercurial > pidgin
comparison src/protocols/msn/table.h @ 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 | 2e01c503aa4f |
| children |
comparison
equal
deleted
inserted
replaced
| 12322:c7ae1fd0827d | 12323:fc464a0abccc |
|---|---|
| 40 | 40 |
| 41 GHashTable *async; | 41 GHashTable *async; |
| 42 GHashTable *fallback; | 42 GHashTable *fallback; |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 MsnTable *msn_table_new(); | 45 MsnTable *msn_table_new(void); |
| 46 void msn_table_destroy(MsnTable *table); | 46 void msn_table_destroy(MsnTable *table); |
| 47 | 47 |
| 48 void msn_table_add_cmd(MsnTable *table, char *command, char *answer, | 48 void msn_table_add_cmd(MsnTable *table, char *command, char *answer, |
| 49 MsnTransCb cb); | 49 MsnTransCb cb); |
| 50 void msn_table_add_error(MsnTable *table, char *answer, MsnErrorCb cb); | 50 void msn_table_add_error(MsnTable *table, char *answer, MsnErrorCb cb); |
