From fd3e94593224fe0e656c7bb1dc117db057575f4e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 19 Jun 2012 01:56:36 -0400 Subject: [PATCH] fix prototype --- Utility/libkqueue.c | 2 +- Utility/libkqueue.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Utility/libkqueue.c b/Utility/libkqueue.c index 643a63b978..b5a19a1350 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 1a285b8dad..692b47f14e 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);