提交 ad2e0320 编写于 作者: G Geoff Thorpe

Whilst in the process of fixing outstanding function-pointer casts in the

LHASH code, this evil was uncovered. The cast was obscuring the fact that
the function was prototyped to take 2 parameters when in fact it is being
used as a callback that should take only one. Anyway, the function itself
ignores the second parameter (thankfully). A proper cure is on the way but
for now this corrects the inconsistency.
上级 601140b3
......@@ -305,7 +305,7 @@ void OBJ_NAME_do_all_sorted(int type,void (*fn)(const OBJ_NAME *,void *arg),
static int free_type;
static void names_lh_free(OBJ_NAME *onp, int type)
static void names_lh_free(OBJ_NAME *onp)
{
if(onp == NULL)
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册