Commit ad2e0320 authored by Geoff Thorpe's avatar Geoff Thorpe
Browse files

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.
parent 601140b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -305,7 +305,7 @@ void OBJ_NAME_do_all_sorted(int type,void (*fn)(const OBJ_NAME *,void *arg),


static int free_type;
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)
	if(onp == NULL)
		return;
		return;