From 1fd9afdf7d4a46ec324d002b3f23c23eebff1795 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 18 Sep 2007 23:21:06 +0000 Subject: make use of pa_bool_t on a few places where applicable; really start work_cb git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1863 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/pulsecore/rtpoll.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/pulsecore/rtpoll.h') diff --git a/src/pulsecore/rtpoll.h b/src/pulsecore/rtpoll.h index ee6cc06c..a1242b38 100644 --- a/src/pulsecore/rtpoll.h +++ b/src/pulsecore/rtpoll.h @@ -31,6 +31,7 @@ #include #include #include +#include /* An implementation of a "real-time" poll loop. Basically, this is * yet another wrapper around poll(). However it has certain @@ -72,7 +73,7 @@ void pa_rtpoll_install(pa_rtpoll *p); * struct pollfd. Returns negative on error, positive if the loop * should continue to run, 0 when the loop should be terminated * cleanly. */ -int pa_rtpoll_run(pa_rtpoll *f, int wait); +int pa_rtpoll_run(pa_rtpoll *f, pa_bool_t wait); void pa_rtpoll_set_timer_absolute(pa_rtpoll *p, const struct timespec *ts); void pa_rtpoll_set_timer_periodic(pa_rtpoll *p, pa_usec_t usec); -- cgit