summaryrefslogtreecommitdiff
path: root/lib9p/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib9p/internal.h')
-rw-r--r--lib9p/internal.h4
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;