changeset 12417:d30c0a7a5619

[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. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Thu, 08 Dec 2005 21:07:09 +0000
parents 4aafa0c63898
children a4229dd9c76a
files src/protocols/yahoo/yahoo.c
diffstat 1 files changed, 7 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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);