DragonFlyBSD/src 125cd2f — include stdint.h, lib/libevtr evtr.c
<stdint.h>: Move out ptrdiff_t type. The ISO C does not specify that <stdint.h> should provide this type, this type should be declared in <stddef.h> for use by userland. Since we do not want to create a separate header for this useful type to be used by kernel, move it to <sys/types.h> under _KERNEL visibility. Adjust few places to include <stddef.h> with a minor whitespace cleanup.
Delta | File | |
---|---|---|
+7 | -6 | lib/libevtr/evtr.c |
+6 | -5 | usr.bin/ktrdump/ktrdump.c |
+0 | -5 | include/stdint.h |
+5 | -0 | sys/sys/types.h |
+1 | -0 | lib/libstand/printf.c |
+19 | -16 | 5 files |