[trivial PATCH 20/22] [rlm_policy.h] eliminate build warnings

Wang Tinggong wangtinggong at gmail.com
Mon Feb 1 18:32:15 CET 2010


Signed-off-by: Wang Tinggong <wangtinggong at gmail.com>
---
 src/modules/rlm_policy/rlm_policy.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/modules/rlm_policy/rlm_policy.h b/src/modules/rlm_policy/rlm_policy.h
index e5e8e18..7e0963f 100644
--- a/src/modules/rlm_policy/rlm_policy.h
+++ b/src/modules/rlm_policy/rlm_policy.h
@@ -266,7 +266,7 @@ extern int rlm_policy_insert(rbtree_t *head, policy_named_t *policy);
 extern policy_named_t *rlm_policy_find(rbtree_t *head, const char *name);
 
 extern int rlm_policy_parse(rbtree_t *policies, const char *filename);
-extern void rlm_policy_free_item(policy_item_t *item);
+extern void rlm_policy_free_item(void *it);
 extern void rlm_policy_print(const policy_item_t *item);
 extern int rlm_policy_evaluate(rlm_policy_t *inst, REQUEST *request,
 			       const char *name);
-- 
1.6.0.6



More information about the Freeradius-Devel mailing list