summaryrefslogtreecommitdiff
path: root/cmd/srv9p/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/srv9p/main.c')
-rw-r--r--cmd/srv9p/main.c9
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 = {