pidgin: 845b534b: msn_slplink_new() is only used within sl...

markdoliner at pidgin.im markdoliner at pidgin.im
Mon Jun 9 02:41:07 EDT 2008


-----------------------------------------------------------------
Revision: 845b534b3cb3144c4d6107ca794d3ea9858649ea
Ancestor: ed4b8f3d549b9f1b49b2af98fa44b1a6e1e0f9cc
Author: markdoliner at pidgin.im
Date: 2008-06-07T00:47:16
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/845b534b3cb3144c4d6107ca794d3ea9858649ea

Modified files:
        libpurple/protocols/msn/slplink.c
        libpurple/protocols/msn/slplink.h

ChangeLog: 

msn_slplink_new() is only used within slplink.c, so make it static and
remove it from the header to avoid having it called

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/slplink.c	3b445961c805b0f26d74fcb25cc0b60b944d8f18
+++ libpurple/protocols/msn/slplink.c	eac0644b512d5c205b97c7a3c2d7565b6900411e
@@ -58,7 +58,7 @@ debug_msg_to_file(MsnMessage *msg, gbool
  * Main
  **************************************************************************/
 
-MsnSlpLink *
+static MsnSlpLink *
 msn_slplink_new(MsnSession *session, const char *username)
 {
 	MsnSlpLink *slplink;
============================================================
--- libpurple/protocols/msn/slplink.h	d8756cf2f68f983800d3822e83b52b0c6d0d0613
+++ libpurple/protocols/msn/slplink.h	567cbc459ff271ba6c4cf6b48fff0d9a10e2b16c
@@ -59,7 +59,6 @@ struct _MsnSlpLink
 	GQueue *slp_msg_queue;
 };
 
-MsnSlpLink *msn_slplink_new(MsnSession *session, const char *username);
 void msn_slplink_destroy(MsnSlpLink *slplink);
 MsnSlpLink *msn_session_find_slplink(MsnSession *session,
 									 const char *who);


More information about the Commits mailing list