11-05-2015, 07:56 AM
Thank you for your point. We will modify the examples to use stddef.h in a future update.
Note: A more correct statement in the original question would be "A freestanding environment needs stddef.h not stdlib.h.", since stdarg.h does not contain a definition of NULL.
Note: A more correct statement in the original question would be "A freestanding environment needs stddef.h not stdlib.h.", since stdarg.h does not contain a definition of NULL.
Posted by and on behalf of the MISRA C Working Group