fix prototype
This commit is contained in:
parent
03b9341356
commit
fd3e945932
2 changed files with 3 additions and 2 deletions
|
@ -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");
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue