diff --git a/rust/kernel/task.rs b/rust/kernel/task.rs index 210f59e219a1..0f3add12f499 100644 --- a/rust/kernel/task.rs +++ b/rust/kernel/task.rs @@ -144,7 +144,7 @@ impl Deref for CurrentTask { } /// The type of process identifiers (PIDs). -type Pid = bindings::pid_t; +pub type Pid = bindings::pid_t; /// The type of user identifiers (UIDs). #[derive(Copy, Clone)]