[trivial PATCH 10/22] [rlm_mschap.c] eliminate build warnings

Wang Tinggong wangtinggong at gmail.com
Mon Feb 1 18:27:51 CET 2010


Signed-off-by: Wang Tinggong <wangtinggong at gmail.com>
---
 src/modules/rlm_mschap/rlm_mschap.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/modules/rlm_mschap/rlm_mschap.c b/src/modules/rlm_mschap/rlm_mschap.c
index faee861..7b7573a 100644
--- a/src/modules/rlm_mschap/rlm_mschap.c
+++ b/src/modules/rlm_mschap/rlm_mschap.c
@@ -72,6 +72,9 @@ extern int od_mschap_auth(REQUEST *request, VALUE_PAIR *challenge, VALUE_PAIR *
 #define ACB_PWNOEXP    0x0200  /* 1 = User password does not expire */
 #define ACB_AUTOLOCK   0x0400  /* 1 = Account auto locked */
 
+extern void mschap_add_reply(REQUEST *request, VALUE_PAIR** vp,
+	unsigned char ident, const char* name, const char* value, int len);
+
 static int pdb_decode_acct_ctrl(const char *p)
 {
 	int acct_ctrl = 0;
-- 
1.6.0.6



More information about the Freeradius-Devel mailing list