fix prototype

This commit is contained in:
Joey Hess 2012-06-19 01:56:36 -04:00
parent 03b9341356
commit fd3e945932
2 changed files with 3 additions and 2 deletions

View file

@ -42,7 +42,7 @@ signed int helper(const int kq, const int fdcnt, const int *fdlist, int nodelay)
} }
/* Initializes a new, empty kqueue. */ /* Initializes a new, empty kqueue. */
int init_kqueue(const int fdcnt, const int *fdlist) { int init_kqueue() {
int kq; int kq;
if ((kq = kqueue()) == -1) { if ((kq = kqueue()) == -1) {
perror("kqueue"); perror("kqueue");

View file

@ -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); signed int waitchange_kqueue(const int kq);