From 2788b18f3280c374803e9092fd3cdd2bb41eaa04 Mon Sep 17 00:00:00 2001 From: leitner Date: Sat, 24 Apr 2021 12:48:50 +0000 Subject: [PATCH] provide prototype --- io/io_eagain.c | 2 ++ io/io_eagain_write.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/io/io_eagain.c b/io/io_eagain.c index 1d14a99..9f3e501 100644 --- a/io/io_eagain.c +++ b/io/io_eagain.c @@ -1,5 +1,7 @@ #include "io_internal.h" +void io_wantwrite_really(int64 d, io_entry* e); + void io_eagain(int64 d) { io_entry* e=iarray_get(&io_fds,d); if (e) { diff --git a/io/io_eagain_write.c b/io/io_eagain_write.c index 31e7538..bb8fa58 100644 --- a/io/io_eagain_write.c +++ b/io/io_eagain_write.c @@ -1,5 +1,7 @@ #include "io_internal.h" +void io_wantwrite_really(int64 d, io_entry* e); + void io_eagain_write(int64 d) { io_entry* e=iarray_get(&io_fds,d); if (e) {