diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-09-19 20:02:56 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-09-19 20:02:56 -0600 |
commit | 3272b32551f515fcbe4b59f22e05f0f54b3d1259 (patch) | |
tree | f7b7de6edd169929faa41431d10fe3ce5ca94d6b /srv9p.c | |
parent | f24523d46c4da32870e3368f4e0caecafb19090f (diff) |
move tihngs around
Diffstat (limited to 'srv9p.c')
-rw-r--r-- | srv9p.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -0,0 +1,12 @@ +#include <error.h> +#include <stdio.h> +#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; +} |