Re: [PATCH] include: document list interface.

2011-02-23 Thread Peter Hutterer
On Tue, Feb 22, 2011 at 12:56:41PM -0800, Alan Coopersmith wrote: + * Looping through the list requires a 'struct foo' as iterator and the + * name of the field the subnodes use. Looks like this should this say: a 'struct foo' as iterator, the head of the list, and the name of

Re: [PATCH] include: document list interface.

2011-02-22 Thread Alan Coopersmith
On 02/21/11 07:29 PM, Peter Hutterer wrote: Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- include/list.h | 182 +++- 1 files changed, 180 insertions(+), 2 deletions(-) diff --git a/include/list.h b/include/list.h index

[PATCH] include: document list interface.

2011-02-21 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- include/list.h | 182 +++- 1 files changed, 180 insertions(+), 2 deletions(-) diff --git a/include/list.h b/include/list.h index 4ce20a8..3c8c754 100644 --- a/include/list.h +++