# HG changeset patch # User Richard Laager # Date 1134076029 0 # Node ID d30c0a7a5619ddd7e56e6985d26ae0eaeaf24947 # Parent 4aafa0c63898f6f00114725e32d8229c25db8933 [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 diff -r 4aafa0c63898 -r d30c0a7a5619 src/protocols/yahoo/yahoo.c --- 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);