From 7cbd849648d41c8b55b5b5fe618b8d20e75db868 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Sat, 17 May 2025 12:38:59 -0600 Subject: Sort+align #includes --- lib9p/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib9p/core.c') diff --git a/lib9p/core.c b/lib9p/core.c index 464b31d..995808f 100644 --- a/lib9p/core.c +++ b/lib9p/core.c @@ -4,8 +4,8 @@ * SPDX-License-Identifier: AGPL-3.0-or-later */ -#include /* for va_* */ -#include /* for strlen(), strnlen(), strncpy(), memcmp(), memset() */ +#include /* for va_* */ +#include /* for strlen(), strnlen(), strncpy(), memcmp(), memset() */ #include /* for assert() */ #include /* for uint32le_decode() */ -- cgit v1.2.3-2-g168b From 3c512ac435bb054e56b06a93adf7e74e4ce352fc Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Sat, 17 May 2025 12:47:44 -0600 Subject: Fix some funny indents --- lib9p/core.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib9p/core.c') diff --git a/lib9p/core.c b/lib9p/core.c index 995808f..942db05 100644 --- a/lib9p/core.c +++ b/lib9p/core.c @@ -103,11 +103,11 @@ const char *lib9p_msgtype_str(enum lib9p_version ver, enum lib9p_msg_type typ) { /* main message functions *****************************************************/ void fmt_print_lib9p_msg(lo_interface fmt_dest w, struct lib9p_ctx *ctx, enum lib9p_msg_type typ, void *body) { - assert(ctx); - assert_ver(ctx->version); - assert_typ(typ); - assert(_lib9p_table_msg[ctx->version][typ].print); - _lib9p_table_msg[ctx->version][typ].print(w, ctx, body); + assert(ctx); + assert_ver(ctx->version); + assert_typ(typ); + assert(_lib9p_table_msg[ctx->version][typ].print); + _lib9p_table_msg[ctx->version][typ].print(w, ctx, body); } #define _lib9p_validate(LOW_TYP_BIT, ERRMSG, TABLE) do { \ -- cgit v1.2.3-2-g168b