Move offsetof to osdep.h, remove local defintions.
commitac509d88877c07bb06497206d74a2baa25b6d895
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 16 Sep 2008 13:36:57 +0000 (16 13:36 +0000)
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 16 Sep 2008 13:36:57 +0000 (16 13:36 +0000)
tree1146602c5a370fd479b139f72746e598c7a7178a
parent2acf5af04daf02723a4ba1b720a53b6e718023f4
Move offsetof to osdep.h, remove local defintions.

With this container_of can actually be used without causing build errors.
Reformat container_of.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5234 c046a42c-6fe2-441c-8c8c-71466251a162
block-qcow2.c
exec-all.h
linux-user/signal.c
monitor.c
osdep.h