mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Make HandlerFunc public, because it is part of a public interface
This commit is contained in:
@@ -36,7 +36,7 @@ pub struct Entry {
|
|||||||
reserved: u32,
|
reserved: u32,
|
||||||
}
|
}
|
||||||
|
|
||||||
type HandlerFunc = extern "C" fn() -> !;
|
pub type HandlerFunc = extern "C" fn() -> !;
|
||||||
|
|
||||||
impl Entry {
|
impl Entry {
|
||||||
fn new(gdt_selector: SegmentSelector, handler: HandlerFunc) -> Self {
|
fn new(gdt_selector: SegmentSelector, handler: HandlerFunc) -> Self {
|
||||||
|
|||||||
Reference in New Issue
Block a user