plan9port/src/libip/freeipifc.c
Dan Cross fa325e9b42 Trivial changes: whitespace and modes.
Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.

Signed-off-by: Dan Cross <cross@gajendra.net>
2020-01-10 14:54:30 +00:00

19 lines
231 B
C

#include <u.h>
#include <libc.h>
#include <ip.h>
void
freeipifc(Ipifc *i)
{
Ipifc *next;
Iplifc *l, *lnext;
for(; i; i=next){
next = i->next;
for(l=i->lifc; l; l=lnext){
lnext = l->next;
free(l);
}
free(i);
}
}