container_of: don't put member_ptr in container_off.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 12 Dec 2011 03:20:05 +0000 (13:50 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 12 Dec 2011 03:20:05 +0000 (13:50 +1030)
commit578da7e7b6265153fa0519035fc52a086a711ac0
treedb2eb2fe881196ce6f491d5f1e85d67c5ab0e94c
parent2eff9a654f86ec238ddda60f928dccfcd0767645
container_of: don't put member_ptr in container_off.

It's convenient to check that the member is the given type, but we can leave
that to the callers.
ccan/container_of/container_of.h
ccan/container_of/test/run.c
ccan/list/list.h