diff options
Diffstat (limited to 'include/libtf/io.h')
-rw-r--r-- | include/libtf/io.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/libtf/io.h b/include/libtf/io.h index 1f0b793..1f37d81 100644 --- a/include/libtf/io.h +++ b/include/libtf/io.h @@ -26,8 +26,6 @@ #define TF_FD_SET_CLOEXEC 4 #define TF_FD_ALREADY_NONBLOCKING 8 -struct tf_fiber; - struct tf_sockaddr { union { struct sockaddr addr; @@ -42,7 +40,7 @@ struct tf_fd { /* Single waiter -- would be relatively trivial to modify to allow * multiple waiters, if someone actually needs it */ unsigned int events; - struct tf_fiber *waiting_fiber; + void *waiting_fiber; }; void tf_poll_init(void); |