summaryrefslogtreecommitdiff
path: root/lib9p/core_tables.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib9p/core_tables.h')
-rw-r--r--lib9p/core_tables.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib9p/core_tables.h b/lib9p/core_tables.h
index 2c5f745..17e9398 100644
--- a/lib9p/core_tables.h
+++ b/lib9p/core_tables.h
@@ -52,8 +52,10 @@ extern const struct _lib9p_send_tentry _lib9p_table_Rmsg_send[LIB9P_VER_NUM][0x8
/* stat ***********************************************************************/
+#if _LIB9P_ENABLE_stat
ssize_t _lib9p_stat_validate(struct lib9p_ctx *ctx, uint32_t net_size, uint8_t *net_bytes, uint32_t *ret_net_size);
void _lib9p_stat_unmarshal(struct lib9p_ctx *ctx, uint8_t *net_bytes, void *out);
bool _lib9p_stat_marshal(struct lib9p_ctx *ctx, struct lib9p_stat *val, struct _marshal_ret *ret);
+#endif
#endif /* _LIB9P_CORE_TABLES_H_ */