From 9c0338b1b4495457659157e1e9f47d422dcefc2e Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Wed, 14 May 2025 16:37:27 -0600 Subject: lib9p: Remove uses of printf --- lib9p/core_tables.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib9p/core_tables.h') diff --git a/lib9p/core_tables.h b/lib9p/core_tables.h index da2027a..e3dc8f4 100644 --- a/lib9p/core_tables.h +++ b/lib9p/core_tables.h @@ -21,10 +21,10 @@ extern const struct _lib9p_ver_tentry _lib9p_table_ver[LIB9P_VER_NUM]; /* message ********************************************************************/ -typedef lo_interface fmt_formatter (*_box_as_fmt_formatter_fn_t)(void *host_val); +typedef void (*_print_fn_t)(lo_interface fmt_dest, struct lib9p_ctx *, void *); struct _lib9p_msg_tentry { - const char *name; - _box_as_fmt_formatter_fn_t box_as_fmt_formatter; + const char *name; + _print_fn_t print; }; typedef ssize_t (*_validate_fn_t)(struct lib9p_ctx *ctx, uint32_t net_size, uint8_t *net_bytes); -- cgit v1.2.3-2-g168b