summaryrefslogtreecommitdiff
path: root/lib9p/srv.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-09 23:58:16 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-10 16:34:31 -0600
commit371d7f15f2f37f14ff6a074f46048105ddb9071b (patch)
tree432df647c2509125d26367062068457090ad599b /lib9p/srv.c
parentd52f9cacdfa88a21bcf4d3ea4c0468e7f312ce4c (diff)
lib9p: srv: No reason to have acknowledge_flush() return anything
Diffstat (limited to 'lib9p/srv.c')
-rw-r--r--lib9p/srv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib9p/srv.c b/lib9p/srv.c
index 60a1bb0..b3b9c4c 100644
--- a/lib9p/srv.c
+++ b/lib9p/srv.c
@@ -57,12 +57,11 @@ bool lib9p_srv_flush_requested(struct lib9p_srv_ctx *ctx) {
return _lib9p_srv_flushch_can_send(&ctx->_flushch);
}
-int lib9p_srv_acknowledge_flush(struct lib9p_srv_ctx *ctx) {
+void lib9p_srv_acknowledge_flush(struct lib9p_srv_ctx *ctx) {
assert(ctx);
assert(_lib9p_srv_flushch_can_send(&ctx->_flushch));
lib9p_error(&ctx->basectx, LINUX_ECANCELED, "request canceled by flush");
_lib9p_srv_flushch_send(&ctx->_flushch, true);
- return -1;
}
/* structs ********************************************************************/