<unistd.h>: Fix profil(2) prototype.
authorzrj <rimvydas.jasinskas@gmail.com>
Sun, 6 Oct 2019 07:27:18 +0000 (10:27 +0300)
committerzrj <rimvydas.jasinskas@gmail.com>
Sun, 6 Oct 2019 11:03:33 +0000 (14:03 +0300)
commitc0da416664b722f6d1d1108213e799ad669e1fc2
tree3709914c12f0ceed3900fa6b1309942f8377ebb7
parentf18492194f59f8cb1bd607e04244aba6915e333e
<unistd.h>: Fix profil(2) prototype.

 First off the vm_offset_t is somewhat bogus in this context, same could
 be said about size_t variant in sys/sysproto.h.  Just use plain u_long
 type like it is already used in "struct uprof" and fix forth argument
 to take u_int.  In public headers prefer to use generic types.
include/unistd.h
lib/libc/sys/profil.2
sys/kern/syscalls.master
sys/sys/sysproto.h