extern "C" {
#endif
-struct poll_waiter;
/* Schedule events to wake up the following poll_block().
*
* (poll_fd_wait)(fd, events, where);
* See timer_wait() for an example.
*/
-struct poll_waiter *poll_fd_wait(int fd, short int events, const char *where);
+void poll_fd_wait(int fd, short int events, const char *where);
#define poll_fd_wait(fd, events) poll_fd_wait(fd, events, SOURCE_LOCATOR)
void poll_timer_wait(long long int msec, const char *where);
/* Wait until an event occurs. */
void poll_block(void);
-/* Cancel a file descriptor callback or event. */
-void poll_cancel(struct poll_waiter *);
-
#ifdef __cplusplus
}
#endif