librfn/utils: Introduce containerof() macro.
authorDaniel Thompson <daniel@redfelineninja.org.uk>
Mon, 7 Jan 2013 21:57:13 +0000 (21:57 +0000)
committerDaniel Thompson <daniel@redfelineninja.org.uk>
Mon, 7 Jan 2013 21:57:13 +0000 (21:57 +0000)
commita77f0650c893bf38886af852c07881acf6ef1a9d
treed222bf25fac8854244bf06d422eca780d36034c6
parentab0011aa709a9005ab6b107c9d797a8ae7c1f5cc
librfn/utils: Introduce containerof() macro.

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
src/librfn/include/librfn/util.h