poll.c

Cross-platform polling library for C
git clone git://git.finwo.net/lib/poll.c
Log | Files | Refs | README

commit 90dc4ebb27fd660726c9ca7c826cc0df6daa0080
parent 3aab83cd66e25f093acd12102f827ca1dacfdcaa
Author: Yersa Nordman <yersa@finwo.nl>
Date:   Sun, 31 Dec 2023 00:12:25 +0100

Include argument names in header

Diffstat:
Msrc/fpoll.h | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/fpoll.h b/src/fpoll.h @@ -37,9 +37,9 @@ struct fpoll_ev { }; struct fpoll * fpoll_create(); -FPOLL_STATUS fpoll_close(struct fpoll *); -int fpoll_wait(struct fpoll *, struct fpoll_ev *, int max_evs, int timeout); -FPOLL_STATUS fpoll_add(struct fpoll *, FPOLL_EVENT, FPOLL_FD, void *udata); -FPOLL_STATUS fpoll_del(struct fpoll *, FPOLL_EVENT, FPOLL_FD); +FPOLL_STATUS fpoll_close(struct fpoll *descriptor); +int fpoll_wait(struct fpoll *descriptor, struct fpoll_ev *evs, int max_evs, int timeout); +FPOLL_STATUS fpoll_add(struct fpoll *descriptor, FPOLL_EVENT events, FPOLL_FD filedescriptor, void *udata); +FPOLL_STATUS fpoll_del(struct fpoll *descriptor, FPOLL_EVENT events, FPOLL_FD filedescriptor); #endif // __FINWO_POLL_H__