diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-09-28 23:23:49 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-09-28 23:23:49 -0600 |
commit | a5ff9ff765d3e14d01099fade6b94624bb8de22b (patch) | |
tree | 94b7dc9a194393e4ca0265d3e5ac56d3e9335a57 /lib9p/internal.h | |
parent | f410026b7bc96dbb42fec3839dc5d2e41b12f4a4 (diff) |
it compiles!
Diffstat (limited to 'lib9p/internal.h')
-rw-r--r-- | lib9p/internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib9p/internal.h b/lib9p/internal.h index 08bb462..f67735b 100644 --- a/lib9p/internal.h +++ b/lib9p/internal.h @@ -14,9 +14,11 @@ #include <lib9p/9p.h> #define USE_CONFIG_9P +#define USE_CONFIG_COROUTINE #include "config.h" static_assert(CONFIG_9P_MAX_ERR_SIZE <= UINT16_MAX); static_assert(CONFIG_9P_MAX_MSG_SIZE <= SSIZE_MAX); +static_assert(CONFIG_9P_MAX_ERR_SIZE + CONFIG_9P_MAX_MSG_SIZE + 2*CONFIG_9P_MAX_HOSTMSG_SIZE < CONFIG_COROUTINE_DEFAULT_STACK_SIZE); /* C language *****************************************************************/ @@ -31,8 +33,6 @@ struct lib9p_ctx { /* negotiated */ enum lib9p_version version; uint32_t max_msg_size; - /* negotiated (server) */ - uint32_t Rerror_overhead; /* state */ uint32_t err_num; |