diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2022-03-16 00:33:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-16 00:33:46 +0100 |
commit | bd481bf095f920a419ea55543f911e087f98f36f (patch) | |
tree | b4f97aabfd3734770c5367b1253511a02d86af87 /runtime/ops/signal.rs | |
parent | 672f66dde1f7ec87282d37e10cac2cdd36e5f181 (diff) |
feat(ops): optional OpState (#13954)
Diffstat (limited to 'runtime/ops/signal.rs')
-rw-r--r-- | runtime/ops/signal.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/ops/signal.rs b/runtime/ops/signal.rs index efab5a932..1da3339ac 100644 --- a/runtime/ops/signal.rs +++ b/runtime/ops/signal.rs @@ -225,18 +225,18 @@ pub fn op_signal_unbind( #[cfg(not(unix))] #[op] -pub fn op_signal_bind(_state: &mut OpState) -> Result<(), AnyError> { +pub fn op_signal_bind() -> Result<(), AnyError> { Err(generic_error("not implemented")) } #[cfg(not(unix))] #[op] -fn op_signal_unbind(_state: &mut OpState) -> Result<(), AnyError> { +fn op_signal_unbind() -> Result<(), AnyError> { Err(generic_error("not implemented")) } #[cfg(not(unix))] #[op] -async fn op_signal_poll(_state: Rc<RefCell<OpState>>) -> Result<(), AnyError> { +async fn op_signal_poll() -> Result<(), AnyError> { Err(generic_error("not implemented")) } |