diff options
author | Joey Hess <joey@kitenet.net> | 2012-06-19 01:56:36 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-06-19 01:57:19 -0400 |
commit | fd3e94593224fe0e656c7bb1dc117db057575f4e (patch) | |
tree | 9c057f49af55e1994533f82e199eecae2abfea87 | |
parent | 03b9341356c8d4eabfec5864957a4e49e7fcac67 (diff) |
fix prototype
-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); |