Skip to content

Commit 0f2654f

Browse files
committed
Minor revisions to satisfy check-raw
1 parent 3521662 commit 0f2654f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

uefi-raw/src/protocol/shell.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@ use super::shell_params::ShellFileHandle;
1414
#[derive(Debug)]
1515
#[repr(C)]
1616
pub struct ListEntry<'a> {
17-
f_link: *mut ListEntry<'a>,
18-
b_link: *mut ListEntry<'a>,
17+
pub f_link: *mut ListEntry<'a>,
18+
pub b_link: *mut ListEntry<'a>,
1919
}
2020

2121
/// ShellFileInfo for File Lists
2222
#[derive(Debug)]
2323
#[repr(C)]
2424
pub struct ShellFileInfo<'a> {
25-
link: ListEntry<'a>,
26-
status: Status,
27-
full_name: *mut Char16,
28-
file_name: *mut Char16,
29-
shell_file_handle: Handle,
30-
file_info: FileInfo,
25+
pub link: ListEntry<'a>,
26+
pub status: Status,
27+
pub full_name: *mut Char16,
28+
pub file_name: *mut Char16,
29+
pub shell_file_handle: Handle,
30+
pub file_info: FileInfo,
3131
}
3232

3333
/// Used to specify where component names should be taken from
3434
pub type ShellDeviceNameFlags = u32;
35-
pub static DEVICE_NAME_USE_COMPONENT_NAME: u32 = 0x0000001;
36-
pub static DEVICE_NAME_USE_DEVICE_PATH: u32 = 0x0000002;
35+
pub const DEVICE_NAME_USE_COMPONENT_NAME: u32 = 0x0000001;
36+
pub const DEVICE_NAME_USE_DEVICE_PATH: u32 = 0x0000002;
3737

3838
/// Shell Protocol
3939
#[derive(Debug)]

0 commit comments

Comments
 (0)