pidgin: 48b991aa: Make msn_slp_call_timeout static

markdoliner at pidgin.im markdoliner at pidgin.im
Thu Nov 13 02:00:27 EST 2008


-----------------------------------------------------------------
Revision: 48b991aa6c243ff6b28ed6ccbc8d746616c6a99a
Ancestor: 041581a9d73edd6bc244585c91e3f387ca70832d
Author: markdoliner at pidgin.im
Date: 2008-11-13T06:57:20
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/48b991aa6c243ff6b28ed6ccbc8d746616c6a99a

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

ChangeLog: 

Make msn_slp_call_timeout static

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/slpcall.c	6170a845b93bff256283252f6a8d2de837563f85
+++ libpurple/protocols/msn/slpcall.c	bd65d2ee239eab88d1cb649643d3275ccc7b30c1
@@ -33,6 +33,28 @@
  * Main
  **************************************************************************/
 
+static gboolean
+msn_slp_call_timeout(gpointer data)
+{
+	MsnSlpCall *slpcall;
+
+	slpcall = data;
+
+#ifdef MSN_DEBUG_SLPCALL
+	purple_debug_info("msn", "slpcall_timeout: slpcall(%p)\n", slpcall);
+#endif
+
+	if (!slpcall->pending && !slpcall->progress)
+	{
+		msn_slp_call_destroy(slpcall);
+		return FALSE;
+	}
+
+	slpcall->progress = FALSE;
+
+	return TRUE;
+}
+
 MsnSlpCall *
 msn_slp_call_new(MsnSlpLink *slplink)
 {
@@ -176,28 +198,6 @@ msn_slp_call_close(MsnSlpCall *slpcall)
 	msn_slp_call_destroy(slpcall);
 }
 
-gboolean
-msn_slp_call_timeout(gpointer data)
-{
-	MsnSlpCall *slpcall;
-
-	slpcall = data;
-
-#ifdef MSN_DEBUG_SLPCALL
-	purple_debug_info("msn", "slpcall_timeout: slpcall(%p)\n", slpcall);
-#endif
-
-	if (!slpcall->pending && !slpcall->progress)
-	{
-		msn_slp_call_destroy(slpcall);
-		return FALSE;
-	}
-
-	slpcall->progress = FALSE;
-
-	return TRUE;
-}
-
 MsnSlpCall *
 msn_slp_process_msg(MsnSlpLink *slplink, MsnSlpMessage *slpmsg)
 {
============================================================
--- libpurple/protocols/msn/slpcall.h	182530c5534fec9303e8806770d905f1ad709769
+++ libpurple/protocols/msn/slpcall.h	ddd51328454f9ab54e1f0e893aa6c8bbc3fc1e29
@@ -86,6 +86,5 @@ void msn_slp_call_close(MsnSlpCall *slpc
 void msn_slp_call_invite(MsnSlpCall *slpcall, const char *euf_guid,
 						 int app_id, const char *context);
 void msn_slp_call_close(MsnSlpCall *slpcall);
-gboolean msn_slp_call_timeout(gpointer data);
 
 #endif /* _MSN_SLPCALL_H_ */


More information about the Commits mailing list