mirror of
https://review.haiku-os.org/haiku
synced 2025-01-31 10:47:14 +01:00
bbb069a1a7
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>