diff options
-rw-r--r-- | Utility/libkqueue.c | 2 | ||||
-rw-r--r-- | Utility/libkqueue.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Utility/libkqueue.c b/Utility/libkqueue.c index 643a63b97..b5a19a135 100644 --- a/Utility/libkqueue.c +++ b/Utility/libkqueue.c @@ -42,7 +42,7 @@ signed int helper(const int kq, const int fdcnt, const int *fdlist, int nodelay) } /* Initializes a new, empty kqueue. */ -int init_kqueue(const int fdcnt, const int *fdlist) { +int init_kqueue() { int kq; if ((kq = kqueue()) == -1) { perror("kqueue"); diff --git a/Utility/libkqueue.h b/Utility/libkqueue.h index 1a285b8da..692b47f14 100644 --- a/Utility/libkqueue.h +++ b/Utility/libkqueue.h @@ -1,2 +1,3 @@ -int init_kqueue(const int fdcnt, const int *fdlist); +int init_kqueue(); +void addfds_kqueue(const int kq, const int fdcnt, const int *fdlist); signed int waitchange_kqueue(const int kq); |