[gaim-migrate @ 14724]

Thu, 08 Dec 2005 21:07:09 +0000

author
Richard Laager <rlaager@pidgin.im>
date
Thu, 08 Dec 2005 21:07:09 +0000
changeset 12417
ad19b5a4b41d
parent 12416
49886bb72bea
child 12418
77abb6df8ee6

[gaim-migrate @ 14724]
#include the new yahoo_crypt.h file. Make yahoo_send_typing() static. Sort the #include list. (That revealed other problems which I corrected and committed earlier in this batch.

src/protocols/yahoo/yahoo.c file | annotate | diff | comparison | revisions
--- a/src/protocols/yahoo/yahoo.c	Thu Dec 08 21:06:51 2005 +0000
+++ b/src/protocols/yahoo/yahoo.c	Thu Dec 08 21:07:09 2005 +0000
@@ -39,16 +39,15 @@
 #include "version.h"
 
 #include "yahoo.h"
-#include "yahoo_packet.h"
-#include "yahoo_friend.h"
 #include "yahoochat.h"
-#include "ycht.h"
 #include "yahoo_auth.h"
-#include "yahoo_filexfer.h"
-#include "yahoo_picture.h"
+#include "yahoo_crypt.h"
 #include "yahoo_doodle.h"
-
-extern char *yahoo_crypt(const char *, const char *);
+#include "yahoo_filexfer.h"
+#include "yahoo_friend.h"
+#include "yahoo_packet.h"
+#include "yahoo_picture.h"
+#include "ycht.h"
 
 /* #define YAHOO_DEBUG */
 
@@ -3060,7 +3059,7 @@
 	return ret;
 }
 
-int yahoo_send_typing(GaimConnection *gc, const char *who, int typ)
+static int yahoo_send_typing(GaimConnection *gc, const char *who, int typ)
 {
 	struct yahoo_data *yd = gc->proto_data;
 	struct yahoo_packet *pkt = yahoo_packet_new(YAHOO_SERVICE_NOTIFY, YAHOO_STATUS_TYPING, 0);

mercurial