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.
This commit is contained in:
Geoff Thorpe 2001-01-08 22:03:27 +00:00
parent 601140b363
commit ad2e032049

View file

@ -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;