# HG changeset patch # User Elliott Sales de Andrade # Date 1214166947 0 # Node ID 01c3074b22994a6dc5e6d44e119612c542e43488 # Parent 54f7e507ea7dd1c1ddae4c1d495e5deb364066fa A patch from felipec to make (msn_)request_user_display static. References #5377. And http://pidgin.im/pipermail/devel/2008-June/006137.html diff -r 54f7e507ea7d -r 01c3074b2299 libpurple/protocols/msn/slp.c --- a/libpurple/protocols/msn/slp.c Sun Jun 22 01:52:04 2008 +0000 +++ b/libpurple/protocols/msn/slp.c Sun Jun 22 20:35:47 2008 +0000 @@ -44,7 +44,7 @@ static void send_decline(MsnSlpCall *slpcall, const char *branch, const char *type, const char *content); -void msn_request_user_display(MsnUser *user); +static void request_user_display(MsnUser *user); /************************************************************************** * Util @@ -930,7 +930,7 @@ username = user->passport; userlist->buddy_icon_window--; - msn_request_user_display(user); + request_user_display(user); #ifdef MSN_DEBUG_UD purple_debug_info("msn", "msn_release_buddy_icon_request(): buddy_icon_window-- yields =%d\n", @@ -1066,8 +1066,8 @@ msn_release_buddy_icon_request_timeout, userlist); } -void -msn_request_user_display(MsnUser *user) +static void +request_user_display(MsnUser *user) { PurpleAccount *account; MsnSession *session; @@ -1115,7 +1115,7 @@ session->userlist->buddy_icon_window++; #ifdef MSN_DEBUG_UD - purple_debug_info("msn", "msn_request_user_display(): buddy_icon_window++ yields =%d\n", + purple_debug_info("msn", "request_user_display(): buddy_icon_window++ yields =%d\n", session->userlist->buddy_icon_window); #endif