qemu-display/src/chardev: export register() on !unix

This commit is contained in:
Marc-André Lureau 2023-04-03 15:15:57 +04:00
parent 47c27c9ce9
commit fb86c7d1fe

View File

@ -10,7 +10,6 @@ use crate::Result;
#[dbus_proxy(default_service = "org.qemu", interface = "org.qemu.Display1.Chardev")]
pub trait Chardev {
/// Register method
#[cfg(unix)]
fn register(&self, stream: Fd) -> zbus::Result<()>;
/// SendBreak method