On Dec 2, 2013, at 5:58 PM, Lourival Vieira Neto <[email protected]> wrote:
> Hi Folks, > > Is there a reason to do not have ptrdiff_t defined in the kernel? > Shouldn't be OK to define it in sys/cdefs.h? Or even for having > stddef.h itself in the kernel? It is defined in the kernel and comes from <machine/ansi.h> via <sys/types.h>. No, <stddef.h> is not allowed in the kernel. Symbols from it are provided via other means.
