|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [PATCH] Use standard header for offsetof |
Date: | Tue, 03 Jun 2008 14:08:50 -0500 |
User-agent: | Thunderbird 2.0.0.14 (X11/20080501) |
Stefan Weil wrote:
This patch adds the standard header stddef.h to all files which call offsetof. It also removes several local definitions of offsetof which are no longer needed.If you prefer standard headers for standard macros instead of local definitions(like I do), you can add this patch to Qemu trunk.
I don't understand why you're adding #include <stdef.h> to files that do not define offsetof. What's the rationale for that?
Regards, Anthony Liguori
Thanks, Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |