From 377e3b7e358a0912260860e095e390264b377e0c Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Tue, 13 May 2025 00:46:53 -0600 Subject: Add `static` to a few definitions --- cmd/sbc_harness/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd/sbc_harness/main.c') diff --git a/cmd/sbc_harness/main.c b/cmd/sbc_harness/main.c index de9751b..1fc76dc 100644 --- a/cmd/sbc_harness/main.c +++ b/cmd/sbc_harness/main.c @@ -61,7 +61,7 @@ enum { PATH_BASE = __COUNTER__ }; __VA_OPT__(,) __VA_ARGS__ \ })) -struct lib9p_srv_file root = +static struct lib9p_srv_file root = STATIC_DIR("", STATIC_DIR("Documentation", STATIC_FILE("YOUR_RIGHTS_AND_OBLIGATIONS.md", @@ -176,7 +176,7 @@ static COROUTINE write9p_cr(void *) { cr_end(); } -const char *const hexdig = "0123456789ABCDEF"; +static const char *const hexdig = "0123456789ABCDEF"; static_assert(_CONFIG_9P_MAX_REQS <= 16); COROUTINE init_cr(void *) { -- cgit v1.2.3-2-g168b