[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] Use stddef.h in Mini-OS to define size_t




On 1 May 2006, at 16:10, John D. Ramsdell wrote:

Please patch Mini-OS so that it uses stddef.h to define size_t and
NULL. This problem fixes errors that occur when linking Mini-OS with
ANSI standard code that uses stddef.h.

Linux goes to considerable pain to ensure that stdarg.h is the only system header that it needs to include. stddef.h looks like it ought to be safe in a kernel environment, but would it not be just as easy to modify the files that you are adding to the build? They're not being built in anything like a standard C environment: I would have thought that stddef.h would be the tip of the iceberg.

 -- Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.