Mercurial > pidgin
diff src/protocols/msn/switchboard.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 | 2cfd36ba0f45 |
| children | 442b23efba54 |
line wrap: on
line diff
--- a/src/protocols/msn/switchboard.c Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/msn/switchboard.c Sun Dec 04 18:19:56 2005 +0000 @@ -206,7 +206,7 @@ msn_message_destroy(msg); } -void +static void msn_switchboard_add_user(MsnSwitchBoard *swboard, const char *user) { MsnCmdProc *cmdproc; @@ -302,7 +302,7 @@ } } -GaimConversation * +static GaimConversation * msn_switchboard_get_conv(MsnSwitchBoard *swboard) { GaimAccount *account; @@ -321,7 +321,7 @@ swboard->im_user, account); } -void +static void msn_switchboard_report_user(MsnSwitchBoard *swboard, GaimMessageFlags flags, const char *msg) { GaimConversation *conv;
