Subject: CVS commit: src/sys/netinet6
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 11/20/2006 04:34:16
Module Name: src
Committed By: dyoung
Date: Mon Nov 20 04:34:16 UTC 2006
Modified Files:
src/sys/netinet6: nd6.c nd6.h nd6_rtr.c
Log Message:
Use LIST_/TAILQ_ macros, esp. LIST_FOREACH() and TAILQ_FOREACH().
Use the usual idiom for iterating over a list where we might
_REMOVE() entries,
for (x = TAILQ_FIRST(...); x != NULL; x = nx) {
nx = TAILQ_NEXT(x, ...);
...
}
To generate a diff of this commit:
cvs rdiff -r1.107 -r1.108 src/sys/netinet6/nd6.c
cvs rdiff -r1.41 -r1.42 src/sys/netinet6/nd6.h
cvs rdiff -r1.61 -r1.62 src/sys/netinet6/nd6_rtr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.