Fix markup. Fix backslashes to surive roff.
[netbsd-mini2440.git] / dist / ipf / lib / alist_free.c
blob17a234a495f4efccbb3ce3eb77a54b25ac05dfb6
1 /* $NetBSD$ */
3 /*
4 * Copyright (C) 2006 by Darren Reed.
6 * See the IPFILTER.LICENCE file for details on licencing.
8 * Id: alist_free.c,v 1.1.2.1 2006/08/25 21:13:04 darrenr Exp
9 */
10 #include "ipf.h"
12 void
13 alist_free(hosts)
14 alist_t *hosts;
16 alist_t *a, *next;
18 for (a = hosts; a != NULL; a = next) {
19 next = a->al_next;
20 free(a);