diff options
author | OBATA Akio <obache@wizdas.com> | 2021-06-19 11:02:17 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-06-20 19:29:54 +0900 |
commit | e04b5ae8c5875c2fe8ee6294ee48be522b5f5176 (patch) | |
tree | db6b89626f1a7db7d6584af7f7d53ba8df6c97d3 /kopete/protocols/yahoo/libkyahoo/crypt.c | |
parent | e081da2f1d812fc22f92a8f9c07d83fc02008392 (diff) | |
download | tdenetwork-e04b5ae8c5875c2fe8ee6294ee48be522b5f5176.tar.gz tdenetwork-e04b5ae8c5875c2fe8ee6294ee48be522b5f5176.zip |
Fix yahoo_crypt() prototype mismatch
pull the prototype from crypt.c and put it in crypt.h.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit ae84576d47ce9bf314b140d59470b3d04e5038f8)
Diffstat (limited to 'kopete/protocols/yahoo/libkyahoo/crypt.c')
-rw-r--r-- | kopete/protocols/yahoo/libkyahoo/crypt.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 <stdlib.h> +#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; |