From 3272b32551f515fcbe4b59f22e05f0f54b3d1259 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Thu, 19 Sep 2024 20:02:56 -0600 Subject: move tihngs around --- srv9p.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 srv9p.c (limited to 'srv9p.c') diff --git a/srv9p.c b/srv9p.c new file mode 100644 index 0000000..489b33e --- /dev/null +++ b/srv9p.c @@ -0,0 +1,12 @@ +#include +#include +#include "coroutine.h" +#include "net9p.h" + +int main() { + if (!coroutine_add(net9p_listen_cr, NULL)) + error(1, 0, "coroutine_add(net9p_listen_cr, NULL)"); + + coroutine_main(); + return 1; +} -- cgit v1.2.3-2-g168b