Warner Losh 2e1e68cbae stand: Make ioctl declaration consistent
It typically had two args with an optional third from the userland
declaration in sys/ioccom.h. However, the funciton definition used a
non-optional char * argument. This mismatch is UB behavior (but worked
due to the calling convetions of all our machines).

Instead, add a declaration for ioctl to stand.h, make the third arg
'void *' which is a better match to the ... declaration before. This
prevents the convert int * -> char * errors as well. Make the ioctl
user-space declaration truly user-space specific (omit it in the
stand-alone build).

No functional change intended.

Sponsored by:		Netflix
Reviewed by:		emaste
Differential Revision:	https://reviews.freebsd.org/D37680
2022-12-12 21:46:34 -07:00
..
2022-09-29 12:51:14 +02:00
2022-08-03 11:24:38 -06:00
2022-11-30 15:30:33 -07:00
2022-09-08 02:16:34 +02:00
2022-11-02 09:34:54 -06:00
2021-11-18 22:43:02 -07:00
2021-11-18 22:43:02 -07:00
2022-11-30 15:30:33 -07:00
2021-09-08 04:01:20 +03:00
2021-12-16 11:50:36 +01:00
2021-08-10 21:54:32 +03:00
2022-09-29 12:52:02 +02:00
2021-09-24 20:23:49 -07:00
2021-11-18 22:43:02 -07:00
2021-11-18 22:43:02 -07:00
2021-11-18 22:43:02 -07:00
2022-07-27 09:04:13 -06:00
2021-09-24 20:23:37 -07:00
2021-12-10 11:05:31 -07:00