[PATCH 3/6] include: point to the tests in list.c as examples

Peter Hutterer peter.hutterer at who-t.net
Thu Dec 1 14:56:30 PST 2011


Even with the documentation, the list.c tests are the best examples.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 include/list.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/list.h b/include/list.h
index 73ff0be..733a579 100644
--- a/include/list.h
+++ b/include/list.h
@@ -28,6 +28,7 @@
 
 /**
  * @file Classic doubly-link circular list implementation.
+ * For real usage examples of the linked list, see the file test/list.c
  *
  * Example:
  * We need to keep a list of struct foo in the parent struct bar, i.e. what
-- 
1.7.7.1



More information about the xorg-devel mailing list