From 62e8081e0ac4a4c170bc536303f7a9bd3e91fd7b Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Mon, 7 Oct 2024 17:24:18 -0600 Subject: tidy config --- cmd/srv9p/main.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'cmd/srv9p/main.c') diff --git a/cmd/srv9p/main.c b/cmd/srv9p/main.c index f62617d..6ed4b79 100644 --- a/cmd/srv9p/main.c +++ b/cmd/srv9p/main.c @@ -7,9 +7,16 @@ #include "static.h" -#define USE_CONFIG_COROUTINE +/* configuration **************************************************************/ + #include "config.h" +#ifndef CONFIG_NETIO_NUM_CONNS +# error config.h must define CONFIG_NETIO_NUM_CONNS +#endif + +/* implementation *************************************************************/ + #define UNUSED(name) /* name __attribute__((unused)) */ static struct static_dir_data root = { -- cgit v1.2.3-2-g168b