summaryrefslogtreecommitdiff
path: root/lib9p/srv.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-12 08:34:19 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-12 08:34:19 -0600
commitddd3f3982c6cdf8d7d0068e544cc9daf24355d32 (patch)
tree747821d810bf6ecb97089af088e3946cfc1225ce /lib9p/srv.c
parentd053a0f6dffc575611324b81acaef0d1554bda6c (diff)
parente0d67aeb886c75dde8f05120a2d8d1bd2dd2c16c (diff)
Merge branch 'lukeshu/tidy'
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 ********************************************************************/