Mercurial > pidgin
comparison src/protocols/jabber/buddy.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 | ecd471d1eeec |
children | 1b57012eec7b |
comparison
equal
deleted
inserted
replaced
12322:c7ae1fd0827d | 12323:fc464a0abccc |
---|---|
1014 | 1014 |
1015 jabber_presence_subscription_set(js, buddy->name, "unsubscribe"); | 1015 jabber_presence_subscription_set(js, buddy->name, "unsubscribe"); |
1016 } | 1016 } |
1017 | 1017 |
1018 | 1018 |
1019 GList *jabber_buddy_menu(GaimBuddy *buddy) | 1019 static GList *jabber_buddy_menu(GaimBuddy *buddy) |
1020 { | 1020 { |
1021 GaimConnection *gc = gaim_account_get_connection(buddy->account); | 1021 GaimConnection *gc = gaim_account_get_connection(buddy->account); |
1022 JabberStream *js = gc->proto_data; | 1022 JabberStream *js = gc->proto_data; |
1023 JabberBuddy *jb = jabber_buddy_find(js, buddy->name, TRUE); | 1023 JabberBuddy *jb = jabber_buddy_find(js, buddy->name, TRUE); |
1024 | 1024 |