Mercurial > dovecot > original-hg > dovecot-1.2
changeset 5641:209a71c37012 HEAD
Declare extern struct mech_modules also const
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 22 May 2007 15:43:51 +0300 |
parents | 8591bc9961d9 |
children | 7274df228c04 |
files | src/auth/mech.c |
diffstat | 1 files changed, 11 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auth/mech.c Tue May 22 09:47:45 2007 +0400 +++ b/src/auth/mech.c Tue May 22 15:43:51 2007 +0300 @@ -62,18 +62,18 @@ pool_unref(request->pool); } -extern struct mech_module mech_plain; -extern struct mech_module mech_login; -extern struct mech_module mech_apop; -extern struct mech_module mech_cram_md5; -extern struct mech_module mech_digest_md5; -extern struct mech_module mech_ntlm; -extern struct mech_module mech_otp; -extern struct mech_module mech_skey; -extern struct mech_module mech_rpa; -extern struct mech_module mech_anonymous; +extern const struct mech_module mech_plain; +extern const struct mech_module mech_login; +extern const struct mech_module mech_apop; +extern const struct mech_module mech_cram_md5; +extern const struct mech_module mech_digest_md5; +extern const struct mech_module mech_ntlm; +extern const struct mech_module mech_otp; +extern const struct mech_module mech_skey; +extern const struct mech_module mech_rpa; +extern const struct mech_module mech_anonymous; #ifdef HAVE_GSSAPI -extern struct mech_module mech_gssapi; +extern const struct mech_module mech_gssapi; #endif void mech_init(void)