diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-07 17:24:18 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-07 17:24:36 -0600 |
commit | 62e8081e0ac4a4c170bc536303f7a9bd3e91fd7b (patch) | |
tree | 2c40e8297ff0d423bf5e811fa7212345af6141de /cmd/srv9p/main.c | |
parent | b1b07aea8841d78e935e7de13d693a267709e711 (diff) |
tidy config
Diffstat (limited to 'cmd/srv9p/main.c')
-rw-r--r-- | cmd/srv9p/main.c | 9 |
1 files changed, 8 insertions, 1 deletions
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 = { |