haiku/headers
Augustin Cavalier bbb069a1a7 libroot: Use use variable argument count macro for ioctl.
Based on X512's original change, but with more modifications:

 * Don't use _ in macro parameter names to appease GCC 2.

 * Get rid of ioctl_args struct. We don't need it anymore,
   and just adding parameters of the same types has the
   exact same ABI on x86 and x86_64, so this doesn't break
   any existing compiled code.

 * Add (void*) cast to third parameter.

 * Enable for _KERNEL_MODE also.

Change-Id: Id4ad8b85f54836fd26dc6278226954d0a081d5f0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8533
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-11-11 18:29:58 +00:00
..
build kernel/util: Introduce BumpAllocator. 2024-09-06 19:15:42 +00:00
compatibility libroot: move memmem for POSIX.1/2024 2024-11-04 17:55:40 +00:00
config HaikuConfig: Don't define __HAIKU_BEOS_COMPATIBLE_TYPES in kernel mode. 2024-09-24 12:10:35 -04:00
cpp userlandfs: use std::bitset for FSCapabilities 2023-07-10 06:27:18 +00:00
glibc
libs udis86: remove 2024-07-17 19:11:50 +00:00
os BRect: add 2 argument width, height constructor 2024-11-11 16:56:19 +00:00
posix libroot: Use use variable argument count macro for ioctl. 2024-11-11 18:29:58 +00:00
private BShape: use BShape::Private class to access private methods. 2024-11-11 16:56:19 +00:00
tools cppunit: Enable CPPUNIT_HAVE_SSTREAM for the non-legacy GCC. 2022-03-29 19:09:38 -04:00