diff options
Diffstat (limited to 'contrib/ipfilter/lib/alist_free.c')
-rw-r--r-- | contrib/ipfilter/lib/alist_free.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/contrib/ipfilter/lib/alist_free.c b/contrib/ipfilter/lib/alist_free.c deleted file mode 100644 index 44dea1330f81..000000000000 --- a/contrib/ipfilter/lib/alist_free.c +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2012 by Darren Reed. - * - * See the IPFILTER.LICENCE file for details on licencing. - * - * $Id: alist_free.c,v 1.3.2.2 2012/07/22 08:04:24 darren_r Exp $ - */ -#include "ipf.h" - -void -alist_free(hosts) - alist_t *hosts; -{ - alist_t *a, *next; - - for (a = hosts; a != NULL; a = next) { - next = a->al_next; - free(a); - } -} |