From e04b5ae8c5875c2fe8ee6294ee48be522b5f5176 Mon Sep 17 00:00:00 2001 From: OBATA Akio Date: Sat, 19 Jun 2021 11:02:17 +0900 Subject: Fix yahoo_crypt() prototype mismatch pull the prototype from crypt.c and put it in crypt.h. Signed-off-by: OBATA Akio (cherry picked from commit ae84576d47ce9bf314b140d59470b3d04e5038f8) --- kopete/protocols/yahoo/libkyahoo/crypt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'kopete/protocols/yahoo/libkyahoo/crypt.c') diff --git a/kopete/protocols/yahoo/libkyahoo/crypt.c b/kopete/protocols/yahoo/libkyahoo/crypt.c index ee15c345..d3425a40 100644 --- a/kopete/protocols/yahoo/libkyahoo/crypt.c +++ b/kopete/protocols/yahoo/libkyahoo/crypt.c @@ -34,6 +34,7 @@ #include +#include "crypt.h" #include "md5.h" /* for MIN and MAX */ #include "libyahoo.h" @@ -47,8 +48,6 @@ static const char md5_salt_prefix[] = "$1$"; static const char b64t[64] = "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; -char *yahoo_crypt(const char *key, const char *salt); - char *yahoo_crypt(const char *key, const char *salt) { char *buffer = NULL; -- cgit v1.2.1