changeset 23304:945bf99cb233

msn_slplink_new() is only used within slplink.c, so make it static and remove it from the header to avoid having it called
author Mark Doliner <mark@kingant.net>
date Sat, 07 Jun 2008 00:47:16 +0000
parents 3a18d3c1ccb4
children 27f7fae4a361
files libpurple/protocols/msn/slplink.c libpurple/protocols/msn/slplink.h
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/slplink.c	Sat Jun 07 00:43:33 2008 +0000
+++ b/libpurple/protocols/msn/slplink.c	Sat Jun 07 00:47:16 2008 +0000
@@ -58,7 +58,7 @@
  * Main
  **************************************************************************/
 
-MsnSlpLink *
+static MsnSlpLink *
 msn_slplink_new(MsnSession *session, const char *username)
 {
 	MsnSlpLink *slplink;
--- a/libpurple/protocols/msn/slplink.h	Sat Jun 07 00:43:33 2008 +0000
+++ b/libpurple/protocols/msn/slplink.h	Sat Jun 07 00:47:16 2008 +0000
@@ -59,7 +59,6 @@
 	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);