bsd-sys-queue-h-seddery: Massage `offsetof'
PATCH 1/1 bsd-sys-queue-h-seddery: Massage `offsetof'
For some reason BSD's queue.h uses `__offsetof'. It expects it to work just like offsetof. So use offsetof.
Reported-by Andrew Cooper <[email protected]>
Signed-off-by Ian Jackson <[email protected]>
--- tools/include/xen-external/bsd-sys-queue-h-seddery | 2 ++ 1 file changed, 2 insertions(+)
tools/include/xen-external/bsd-sys-queue-h-seddery +2 -0
@@ -69,4 +69,6 @@ s/\b struct \s+ type \b/type/xg; s,^\#include.*sys/cdefs.*,/* $& */,xg; +s,\b __offsetof \b ,offsetof,xg; + s/\b( NULL )/0/xg;
Signature · 1 line
1.7.10.4