Mercurial > pidgin
diff src/protocols/zephyr/ZMkAuth.c @ 12424:7c2e2c4d45a4
[gaim-migrate @ 14731]
Add prototypes, make things static, or #if 0 out unused function as necessary to get zephyr to compile without prototype warnings. It's painfully obvious that this code was written before prototypes existed, or at least before they became standard. As we need to maintain source compatibility with an external libzephyr, I can't really start adding header files. If someone cares about this protocol, feel free to clean this up a bit. My only concern is that I caught any actual mistakes and that it compiles without spurious warnings that would distract us from problems elsewhere.
committer: Tailor Script <tailor@pidgin.im>
| author | Richard Laager <rlaager@wiktel.com> |
|---|---|
| date | Thu, 08 Dec 2005 23:38:36 +0000 |
| parents | 64895571248f |
| children |
line wrap: on
line diff
--- a/src/protocols/zephyr/ZMkAuth.c Thu Dec 08 23:36:47 2005 +0000 +++ b/src/protocols/zephyr/ZMkAuth.c Thu Dec 08 23:38:36 2005 +0000 @@ -24,12 +24,14 @@ static KTEXT_ST last_authent; #endif +#if 0 Code_t ZResetAuthentication () { #ifdef ZEPHYR_USES_KERBEROS last_authent_time = 0L; #endif return ZERR_NONE; } +#endif Code_t ZMakeAuthentication(notice, buffer, buffer_len, len) register ZNotice_t *notice;
