Dienstag, 18. Dezember 2007

struct "has no member named first"

Hey,
you see this error message from gcc?
It is defined as a function in include/linux/list.h, line 37.
It is a good idea to look at the linux kernel list implementation:
good examples are:
http://isis.poly.edu/kulesh/stuff/src/klist/ or
http://kernelnewbies.org/FAQ/LinkedLists.

Or you simple tried the hlist_node to be hlist_head.

Keine Kommentare: