Module: Mesa Branch: main Commit: cda52a04e3d50e651399f448fa09a7b7487698fe URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cda52a04e3d50e651399f448fa09a7b7487698fe
Author: LingMan <[email protected]> Date: Thu Oct 12 21:38:32 2023 +0200 rusticl/api: drop a few include paths `c_void` is already imported at the top of the file. Reviewed-by: Karol Herbst <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25669> --- src/gallium/frontends/rusticl/api/types.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/gallium/frontends/rusticl/api/types.rs b/src/gallium/frontends/rusticl/api/types.rs index 39a9a0242ff..3b7e0f08945 100644 --- a/src/gallium/frontends/rusticl/api/types.rs +++ b/src/gallium/frontends/rusticl/api/types.rs @@ -104,9 +104,9 @@ macro_rules! cl_callback { cl_callback!( CreateContextCB(FuncCreateContextCB) { errinfo: *const ::std::os::raw::c_char, - private_info: *const ::std::ffi::c_void, + private_info: *const c_void, cb: usize, - user_data: *mut ::std::ffi::c_void, + user_data: *mut c_void, } ); @@ -126,7 +126,7 @@ impl CreateContextCB { cl_callback!( DeleteContextCB(FuncDeleteContextCB) { context: cl_context, - user_data: *mut ::std::os::raw::c_void, + user_data: *mut c_void, } ); @@ -143,7 +143,7 @@ cl_callback!( EventCB(FuncEventCB) { event: cl_event, event_command_status: cl_int, - user_data: *mut ::std::os::raw::c_void, + user_data: *mut c_void, } ); @@ -159,7 +159,7 @@ impl EventCB { cl_callback!( MemCB(FuncMemCB) { memobj: cl_mem, - user_data: *mut ::std::os::raw::c_void, + user_data: *mut c_void, } ); @@ -175,7 +175,7 @@ impl MemCB { cl_callback!( ProgramCB(FuncProgramCB) { program: cl_program, - user_data: *mut ::std::os::raw::c_void, + user_data: *mut c_void, } ); @@ -192,8 +192,8 @@ cl_callback!( SVMFreeCb(FuncSVMFreeCb) { queue: cl_command_queue, num_svm_pointers: cl_uint, - svm_pointers: *mut *mut ::std::os::raw::c_void, - user_data: *mut ::std::os::raw::c_void, + svm_pointers: *mut *mut c_void, + user_data: *mut c_void, } );
