From c56286529c60c45559c8be631049b4391723a0e5 Mon Sep 17 00:00:00 2001 From: augustss Date: Tue, 1 Apr 1997 00:07:07 +0000 Subject: [PATCH] Make it compile again by removing a cast to void of KFREE(). KFREE expands to a statement, not an expression. --- sys/netinet/ip_fil.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/netinet/ip_fil.c b/sys/netinet/ip_fil.c index afb444e3e1f2..e9b982a037cd 100644 --- a/sys/netinet/ip_fil.c +++ b/sys/netinet/ip_fil.c @@ -1,4 +1,4 @@ -/* $NetBSD: ip_fil.c,v 1.9 1997/03/29 04:39:16 darrenr Exp $ */ +/* $NetBSD: ip_fil.c,v 1.10 1997/04/01 00:07:07 augustss Exp $ */ /* * (C)opyright 1993,1994,1995 by Darren Reed. @@ -9,7 +9,7 @@ */ #if !defined(lint) && defined(LIBC_SCCS) static char sccsid[] = "@(#)ip_fil.c 2.41 6/5/96 (C) 1993-1995 Darren Reed"; -static char rcsid[] = "$Id: ip_fil.c,v 1.9 1997/03/29 04:39:16 darrenr Exp $"; +static char rcsid[] = "$Id: ip_fil.c,v 1.10 1997/04/01 00:07:07 augustss Exp $"; #endif #ifndef SOLARIS @@ -546,7 +546,7 @@ caddr_t data; error = ESRCH; else { *ftail = f->fr_next; - (void) KFREE(f); + KFREE(f); } } else { if (f)