<stdint.h>: Move out ptrdiff_t type.
authorzrj <rimvydas.jasinskas@gmail.com>
Sun, 10 Nov 2019 15:03:35 +0000 (17:03 +0200)
committerzrj <rimvydas.jasinskas@gmail.com>
Thu, 14 Nov 2019 13:58:43 +0000 (15:58 +0200)
commit125cd2f035cd8575998c9daf79f1f7a17ea7aab8
tree68d592cba717366f1f3398c4d29041bc3cc2365b
parentbf95f21c45110fb6942ba6f04ecb928bbd4fffbf
<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.
include/stdint.h
lib/libevtr/evtr.c
lib/libstand/printf.c
sys/sys/types.h
usr.bin/ktrdump/ktrdump.c