Fix some warnings in ptyd

This commit is contained in:
bjorn3
2025-11-29 19:17:36 +01:00
parent 91a1574c7d
commit fd0f45eac8
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -1,6 +1,5 @@
use std::cell::RefCell;
use std::rc::Weak;
use std::{mem, slice};
use syscall::error::{Error, Result, EBADF, EINVAL, EPIPE};
use syscall::flag::{EventFlags, F_GETFL, F_SETFL, O_ACCMODE};
+1 -1
View File
@@ -3,7 +3,7 @@ use std::io::{Cursor, Write};
use redox_termios::*;
use syscall;
use syscall::error::{Error, Result, ENAMETOOLONG};
use syscall::error::Result;
pub struct Pty {
pub id: usize,