# HG changeset patch # User Timo Sirainen # Date 1179837831 -10800 # Node ID 209a71c370128f40966c006214b791aef891270c # Parent 8591bc9961d9370fc4ea9a58c9d3621463ba0f98 Declare extern struct mech_modules also const diff -r 8591bc9961d9 -r 209a71c37012 src/auth/mech.c --- 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)