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.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/cmd/srv9p/main.c b/cmd/srv9p/main.c
index a2b437e..6ef2cd3 100644
--- a/cmd/srv9p/main.c
+++ b/cmd/srv9p/main.c
@@ -7,13 +7,13 @@
#include <error.h>
#include <stdio.h>
-#include <libcr/coroutine.h>
-#include <libmisc/net.h>
#include <lib9p/srv.h>
+#include <libcr/coroutine.h>
+#include <libhw/generic/net.h>
+#include <libhw/host_net.h>
#include "static9p.h"
#include "static.h"
-#include "gnet.h"
/* configuration **************************************************************/
@@ -91,8 +91,8 @@ static COROUTINE read_cr(void *_srv) {
cr_begin();
- struct gnet_tcp_listener listener;
- gnet_tcp_listener_init(&listener, 9000);
+ struct hostnet_tcp_listener listener;
+ hostnet_tcp_listener_init(&listener, 9000);
lib9p_srv_read_cr(srv, &listener);